summaryrefslogtreecommitdiff
path: root/addons/web/static/lib/py.js
diff options
context:
space:
mode:
authorLucas Perais (lpe) <lpe@odoo.com>2019-02-13 15:44:21 +0000
committerLucas Perais (lpe) <lpe@odoo.com>2019-02-15 09:58:47 +0000
commit6d5a993cf74173456734cccd2ea2c13027c04bbd (patch)
treef4fa109b6a80e957a1620fbf58354d1b90494f9b /addons/web/static/lib/py.js
parentb923ef6c3f45b1bf62ebe8d29b20b936e642f000 (diff)
[FIX] web: control panel load/save filter sort param
Before this commit, the wrong semantics was implemented in the webclient concerning the "sort" char field in ir.filter Loading a filter with a sort with negative order made the webclient crash This field holds a JSON string, representing a list of field names If the order of the field is inverse, there should be a "-" before it for legacy purposes After this commit, the semantics have changed for consistency that is, at save time the sql notation is preferred We support the legacy notation too for backward compatibility closes odoo/odoo#31102
Diffstat (limited to 'addons/web/static/lib/py.js')
0 files changed, 0 insertions, 0 deletions