summaryrefslogtreecommitdiff
path: root/addons/web/static/src/less/fields.less
diff options
context:
space:
mode:
authorMartin Geubelle <mge@odoo.com>2017-04-28 14:31:21 +0200
committerMartin Geubelle <mge@odoo.com>2017-05-04 11:58:26 +0200
commit8943aae665ea906aa03bc30cada884c571738b7c (patch)
tree356e598cb31951c1d1f6f59f85b646097fb6899a /addons/web/static/src/less/fields.less
parent4a648c227ab0142019e2ee6336ae23a8a11a51b0 (diff)
[FIX] web: deal wih `default_order` attribute
One could set the attribute `default_order` in the view arch (like 'name,id desc'). The records should then be sorted accordingly. This feature was not implemented in the new views. This attribute should work on both basic views and embedded views (x2many). The former uses the `sort` argument in `search_read` while the latter is sorted client-side. There is however a potential issue with the latter: as the order is done client-side with records received by the server, if there are more records than the limit, the server will send records without any order. The client side order will thus be done on a fraction of the records.
Diffstat (limited to 'addons/web/static/src/less/fields.less')
0 files changed, 0 insertions, 0 deletions