diff options
| author | Raphael Collet <rco@odoo.com> | 2020-05-05 12:56:02 +0000 |
|---|---|---|
| committer | Raphael Collet <rco@odoo.com> | 2020-05-20 07:56:19 +0000 |
| commit | 0fa101a8bf13671162bda91deb98bd0c7ec76f3f (patch) | |
| tree | 3f4b0556018540c1915a5e7ddfb90a1ae41b30c6 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 020536142cf9fe9124675ef5c7e46eaf41b9c528 (diff) | |
[IMP] core: avoid useless LEFT JOIN in `search_count` queries
Before this commit, a `search_count` was preparing the ORDER BY clause
even when not using it. The ORDER BY clause generation can introduce
some JOINs in the query, which are useless when the ORDER BY clause is
not used, like in the case of `search_count`.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
