diff --git a/assets/js/autocomplete.js b/assets/js/autocomplete.js index 1b7c6fd8..1551a6f8 100644 --- a/assets/js/autocomplete.js +++ b/assets/js/autocomplete.js @@ -229,7 +229,7 @@ function listenAutocomplete() { return; } - originalTerm = selectedTerm[1]; + originalTerm = selectedTerm[1].toLowerCase(); } else { originalTerm = `${inputField.value}`.toLowerCase();