From 899990bda999637de4c2eea45a3def394046203b Mon Sep 17 00:00:00 2001 From: Patrick Connolly Date: Thu, 5 Dec 2024 10:23:41 -0800 Subject: [PATCH] Be less fuzzy in searches. --- src/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/app.js b/src/js/app.js index fd4327b..c836e15 100644 --- a/src/js/app.js +++ b/src/js/app.js @@ -57,7 +57,7 @@ function handleSearch (searchValue) { // TODO: Fix this so it works with multiple words. // E.g., "test finland" filters differently than "finland test" if (!searchValue.endsWith('*')) { - searchValue = `${searchValue} *${searchValue}*` + searchValue = `${searchValue} ${searchValue}*` } try {