fixed some lint issues and function name
This commit is contained in:
parent
b4052fc921
commit
a409396f69
1 changed files with 6 additions and 7 deletions
|
@ -239,13 +239,12 @@ function getFilters (input) {
|
|||
'query': {
|
||||
'bool': {
|
||||
'must': filters,
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
return filterQuery;
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
return [];
|
||||
}
|
||||
}
|
||||
|
@ -261,7 +260,7 @@ function getAutoComplete (query) {
|
|||
query: {
|
||||
bool: {
|
||||
must : getAutoCompleteQuery(query),
|
||||
filter: getFilter(query),
|
||||
filter: getFilters(query),
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue