-
- Downloads
[FIX] website: apply page search on most specific pages only
Since [1] when the fuzzy search was introduced on website pages, the filtering on most specific pages only happens at the end of the search operation. Because of this, the search happens on pages that would be excluded anyway, the limit might be wrongly applied and the count might be wrong. This commit makes the page search begin by keeping only the most specific pages, then performing the actual search within those pages. Steps to reproduce: - Install `website` only and drop a search snippet. - Search "ax". => No results found, but the "All results" link is displayed. [1]: https://github.com/odoo/odoo/commit/7559626c54e34b41e1549e28276a650accec6986 task-3203794 closes odoo/odoo#120881 X-original-commit: 5ad049f5 Signed-off-by:Arthur Detroux (ard) <ard@odoo.com>
Please register or sign in to comment