mirror of https://github.com/OCA/web.git
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). |
||
---|---|---|
.. | ||
description | ||
src |