fixed some lint issues and function name

This commit is contained in:
Mark Beamer Jr 2018-10-21 00:06:39 -04:00
parent b4052fc921
commit a409396f69
No known key found for this signature in database
GPG key ID: 1C314FB89AD76973

View file

@ -239,13 +239,12 @@ function getFilters (input) {
'query': { 'query': {
'bool': { 'bool': {
'must': filters, 'must': filters,
} },
} },
} },
}; };
return filterQuery; return filterQuery;
} } else {
else {
return []; return [];
} }
} }
@ -261,7 +260,7 @@ function getAutoComplete (query) {
query: { query: {
bool: { bool: {
must : getAutoCompleteQuery(query), must : getAutoCompleteQuery(query),
filter: getFilter(query), filter: getFilters(query),
}, },
}, },
}, },