This commit is contained in:
@@ -198,7 +198,13 @@ export default {
|
|||||||
this.isTagFilter = true;
|
this.isTagFilter = true;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return item.name.indexOf(queryText) > -1;
|
if (this.$store.state.globalSettings.searchCaseSensitiveOnly == true) {
|
||||||
|
return item.name.indexOf(queryText) > -1;
|
||||||
|
} else {
|
||||||
|
//need to do a case insensitive filter and hopefully it mirrors postgres at the backend
|
||||||
|
return item.name.toLowerCase().indexOf(queryText.toLowerCase()) > -1;
|
||||||
|
}
|
||||||
|
|
||||||
//split out just the text search part
|
//split out just the text search part
|
||||||
// var searchText = queryText;
|
// var searchText = queryText;
|
||||||
// if (queryText.includes(" ")) {
|
// if (queryText.includes(" ")) {
|
||||||
|
|||||||
Reference in New Issue
Block a user