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': {
'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),
},
},
},