summaryrefslogtreecommitdiff
path: root/doc/reference/javascript_cheatsheet.rst
diff options
context:
space:
mode:
authorPriyanka Kakadiya <pka@odoo.com>2019-06-10 06:55:16 +0000
committerAaron Bohy <aab@odoo.com>2019-07-02 06:55:34 +0000
commit719416845704fe8d85a2383cbdf6b053bd32a195 (patch)
tree9b2514939ce2d24fd2187b2955171a3294184053 /doc/reference/javascript_cheatsheet.rst
parent19934888316c0dd0163690e2927078ea70a1ca9e (diff)
[FIX] web: fixed default order issue
In a list/kanban view when applying a default_order on the view, it does not work with favourite filter Before this commit, 1) The default_order was not applied to the view when favourite filter is applied 2) when default_order applied, Click on an element of the list/kanban and then go back to the list/kanban with the breadcrumbs, default_order has been changed. This is because the ```_getOrderedBy ``` returns [] when favourite filter is applied and it does not have sort value, added check if favourite has orderedBy and has length then and only then pass orderedBy else pass undefined After this commit, 1) default_order will be applied to the view 2) default_order will not be changed when going back through breadcrumbs task-1922576 closes odoo/odoo#34001 Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
Diffstat (limited to 'doc/reference/javascript_cheatsheet.rst')
0 files changed, 0 insertions, 0 deletions