diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2025-07-30 14:04:23 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2025-07-30 14:04:23 -0300 |
commit | 9349febb44ff1fc935845a26dda494dcb43b43ff (patch) | |
tree | 630f1bc423a260a52b31816167b2716adb073214 /src/static | |
parent | cbd75344f4e149e5e7895de361af40b1dc7098e6 (diff) |
search: move simple name-only match to top
Diffstat (limited to 'src/static')
-rw-r--r-- | src/static/js/search-worker.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/static/js/search-worker.js b/src/static/js/search-worker.js index e32b4ad5..3e9fbfca 100644 --- a/src/static/js/search-worker.js +++ b/src/static/js/search-worker.js @@ -391,6 +391,8 @@ function performSearchAction({query, options}) { } const interestingFieldCombinations = [ + ['primaryName'], + ['primaryName', 'parentName', 'groups'], ['primaryName', 'parentName'], ['primaryName', 'groups', 'contributors'], @@ -412,7 +414,6 @@ const interestingFieldCombinations = [ ['contributors', 'parentName'], ['contributors', 'groups'], ['primaryName', 'contributors'], - ['primaryName'], ]; function queryGenericIndex(query, options) { |