summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/models/thread_cache/thread_cache.js
diff options
context:
space:
mode:
authorMathieu Duckerts-Antoine <dam@odoo.com>2020-05-08 08:57:44 +0000
committerJulien Mougenot <jum@odoo.com>2020-06-12 13:34:04 +0000
commit3306a0f41492ee51e93ce9cedcd42296e09df6a0 (patch)
tree6864dfb7530b63e451b43c791127c9bdfbeade36 /addons/mail/static/src/models/thread_cache/thread_cache.js
parente5585c078ef936c3533ba9361c05188fb5e3ab1d (diff)
[IMP] *: limit in search panel
This commit introduces a new attribute 'limit' for search panel fields that allows to avoid performance issues. That integer attribute (with default 200) allows to fix a maximal number of values to display for the fields. When the number of field values to display reaches the limit, no values will be displayed. Instead, a warning message will be shown in the corresponding search panel section. Note it is possible to have no limit using limit="0" on a field. This commit reintroduces in a better way the principle brought by the fix 8d57153b34c04952a85f6642951cb2697016da84. Task ID: 2154749
Diffstat (limited to 'addons/mail/static/src/models/thread_cache/thread_cache.js')
0 files changed, 0 insertions, 0 deletions