Skip to content

Commit 828f8ca

Browse files
Fix an issue where typing e.g. -sport{Enter} would not-dechip the input to produce the plain query -sport
Caused by an import that was inadvertently removed without error
1 parent 3736379 commit 828f8ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kahuna/public/js/search/structured-query/structured-query.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ grStructuredQuery.controller("grStructuredQueryCtrl", [
5151
.debounce(500);
5252

5353
ctrl.getSuggestions = querySuggestions.getChipSuggestions;
54-
ctrl.filterFields = querySuggestions.filterFields;
54+
ctrl.filterFields = querySuggestions.typeaheadFields.map(_ => _.name);
5555

5656
function valOrUndefined(str) {
5757
// Watch out for `false`, but we know it's a string here..

0 commit comments

Comments
 (0)