summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/framework/utils.js
diff options
context:
space:
mode:
authorGéry Debongnie <ged@odoo.com>2016-05-04 14:43:13 +0200
committerGéry Debongnie <ged@odoo.com>2016-05-04 14:46:46 +0200
commit782a4466febda566f871ecf23000526893c2febd (patch)
tree1cdf3706b4f7ed319691de105995a278f12508fa /addons/web/static/src/js/framework/utils.js
parent51064be4b307aac50184d8684cb90501132f6a24 (diff)
[IMP] web: better fuzzy search
The goal of this commit is to have better search results when fuzzy searching. Before this commit, the position of a match was irrelevant to the search results. After, a match in a first position has more weight than a match in last position. This is better, because we often want to find results using the first letters. This is controversial, but I could not find a better way to do this without rewriting the whole library myself (which might not be a bad idea, it is only 50 lines long)
Diffstat (limited to 'addons/web/static/src/js/framework/utils.js')
0 files changed, 0 insertions, 0 deletions