diff --git a/app/main/plugins/hain-plugin-filesearch/index.js b/app/main/plugins/hain-plugin-filesearch/index.js index 94eb3c0b..cb6b2cf4 100644 --- a/app/main/plugins/hain-plugin-filesearch/index.js +++ b/app/main/plugins/hain-plugin-filesearch/index.js @@ -140,7 +140,7 @@ module.exports = (context) => { function search(query, res) { const query_trim = query.replace(' ', ''); - const recentFuzzyResults = util.fuzzy(_recentUsedItems, query_trim); + const recentFuzzyResults = util.fuzzy(_recentUsedItems, query_trim).slice(0, 2); const defaultFuzzyResults = util.fuzzy(db, query_trim); let recentSearchResults = [];