web/web_m2x_options/static
SilvioC2C 78bb7339de [FIX] web_m2x_options: fix search_more behaviour
In README.rst it is said that ``search_more`` key is "[u]sed to force disable/enable search more button".
However, it only applies on fields where the records returned by the name_search are more than the node's limit.

This commit fixes this behaviour, forcing the "Search More..." option to be *always* disabled/enabled if ``search_more`` key is set either locally (in the node's options) or globally (via the ir.config_parameter record).
Moreover, it establishes a clear line of priority for checking whether "Search More..." should be displayed/hidden (local node has the highest priority, global config mid priority, limit check as fallback).
2021-08-11 12:48:16 +02:00
..
description fix: obscur wrong path on last commit. recreate portage from scratch. 2021-03-02 14:34:29 +05:30
src [FIX] web_m2x_options: fix search_more behaviour 2021-08-11 12:48:16 +02:00