summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields/special_fields.js
diff options
context:
space:
mode:
authorChristophe Matthieu <chm@odoo.com>2017-12-06 13:51:42 +0100
committerMartin Geubelle <mge@odoo.com>2018-01-05 17:34:25 +0100
commit73e2ba991c0e74654f3c2e2ae02485196d25fe1e (patch)
tree3243b16ee4c401b1d8ddf3998d23826be4ce60d1 /addons/web/static/src/js/fields/special_fields.js
parentb7ee1aa4b1ea906195c234020cb708a1da9de6a7 (diff)
[FIX] web: add a stableSort method for sorting x2m
Issue: create 60 lines in ordered x2many with the same value (0) for the order field and make a change ; the displayed records will be switched. The problem appears because the sorting function is not stable and the records with the same values can change place (hence change page), which is quite disturbing for the user.
Diffstat (limited to 'addons/web/static/src/js/fields/special_fields.js')
0 files changed, 0 insertions, 0 deletions