We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b98b00 commit 096a012Copy full SHA for 096a012
js/index.js
@@ -680,7 +680,7 @@ function refreshLibrary(options) {
680
Utils.searchRelevance(app.name, searchValue)*(app.shortName?1:2) +
681
(app.shortName?Utils.searchRelevance(app.shortName, searchValue):0) + // if we have shortname, match on that as well
682
Utils.searchRelevance(app.description, searchValue)/5 + // match on description, but pay less attention
683
- Utils.searchRelevance(app.author, searchValue)/3+ //match by author, but less attention as well
+ (app.author?Utils.searchRelevance(app.author, searchValue)/3:0)+ //match by author, but less attention as well
684
((app.tags && app.tags.includes(searchValue))?10:0)
685
}));
686
} else {
0 commit comments