diff options
| author | Denis Ledoux <dle@odoo.com> | 2015-02-05 16:34:28 +0100 |
|---|---|---|
| committer | Denis Ledoux <dle@odoo.com> | 2015-02-05 16:39:22 +0100 |
| commit | 859979e9499403c89f0e08911d3e193233dd911c (patch) | |
| tree | 65aced77141d11b7bae61a4d4e397093dfbbd561 /doc/reference/javascript.rst | |
| parent | 5fe71a3c214995bfd6aca688d8146e3be721d4c3 (diff) | |
[FIX] web: reset dataset orderby on groupby filter.
If the list view had a default order,
for instance, default_order="create_date desc",
setting a groupby filter kept this default order
and the groupby list was therefore not ordered on the groupby field
In general, when setting a groupby filter on a list
we expect the list to be grouped by the groupby field
The reset of the orderby is done only when the list is not grouped
and a first groupby filter is applied.
The orderby is not reset when adding a new groupby,
when one was already applied.
It doesn't reset either when passing from 2 groupby clause to 1.
It doesn't reset either when passing from 1 groupby clause to none.
opw-627233
Diffstat (limited to 'doc/reference/javascript.rst')
0 files changed, 0 insertions, 0 deletions
