This commit is contained in:
@@ -266,7 +266,7 @@ export default {
|
||||
this.isTagFilter = true;
|
||||
return false;
|
||||
}
|
||||
if (this.$store.state.globalSettings.searchCaseSensitiveOnly == true) {
|
||||
if (this.$store.state.globalSettings.filterCaseSensitive == true) {
|
||||
return item.name.indexOf(queryText) > -1;
|
||||
} else {
|
||||
//need to do a case insensitive filter and hopefully it mirrors postgres at the backend
|
||||
|
||||
@@ -54,12 +54,12 @@
|
||||
|
||||
<v-col cols="12" sm="6" lg="4" xl="3">
|
||||
<v-checkbox
|
||||
v-model="obj.searchCaseSensitiveOnly"
|
||||
v-model="obj.filterCaseSensitive"
|
||||
:readonly="formState.readOnly"
|
||||
:label="$ay.t('GlobalSearchCaseSensitiveOnly')"
|
||||
ref="searchCaseSensitiveOnly"
|
||||
data-cy="searchCaseSensitiveOnly"
|
||||
@change="fieldValueChanged('searchCaseSensitiveOnly')"
|
||||
:label="$ay.t('GlobalFilterCaseSensitive')"
|
||||
ref="filterCaseSensitive"
|
||||
data-cy="filterCaseSensitive"
|
||||
@change="fieldValueChanged('filterCaseSensitive')"
|
||||
></v-checkbox>
|
||||
</v-col>
|
||||
|
||||
@@ -754,7 +754,7 @@ export default {
|
||||
{
|
||||
id: 0,
|
||||
concurrency: 0,
|
||||
searchCaseSensitiveOnly: false,
|
||||
filterCaseSensitive: false,
|
||||
useInventory: true,
|
||||
taxPartPurchaseId: null,
|
||||
taxPartSaleId: null,
|
||||
@@ -1026,7 +1026,7 @@ async function fetchTranslatedText(vm) {
|
||||
"PickListTemplates",
|
||||
"GlobalLogo",
|
||||
"GlobalUseInventory",
|
||||
"GlobalSearchCaseSensitiveOnly",
|
||||
"GlobalFilterCaseSensitive",
|
||||
"GlobalTaxPartPurchaseID",
|
||||
"GlobalTaxPartSaleID",
|
||||
"GlobalTaxRateSaleID",
|
||||
|
||||
Reference in New Issue
Block a user