#269 - Filter suggested tags using case-insensitive search
authorAdam Dullage <redacted>
Wed, 18 Dec 2024 19:09:44 +0000 (19:09 +0000)
committerAdam Dullage <redacted>
Wed, 18 Dec 2024 19:09:44 +0000 (19:09 +0000)
client/partials/SearchInput.vue

index 987f8642c3485adcad32732e64c05ca62c46daf8..458a1bfe8cb051597d093a317db316e40f838f25 100644 (file)
@@ -123,7 +123,8 @@ function stateChangeHandler() {
     tagMenuVisible.value = false;
     tagMatches.value = [];
   } else {
-    filterTagMatches(wordOnCursor);
+    // All tags are stored in lowercase, so we can do a case-insensitive search.
+    filterTagMatches(wordOnCursor.toLowerCase());
   }
 }
 
git clone https://git.99rst.org/PROJECT