Add support to insensitive case operators (#11737)

* feat: refactor apply-query & implements icontains

* feat: implements icontains in app

* New translations en-US.yaml

* tests: fix returns the filter operators for binary

* implement rest insensitive operators

* fix: proposal to fix #5996 (convert "in" into "exists")

* delete unused imports

* fix: prevent error when operator filter value is null

* fix: apply-query imports

* some tests

* fix: _nstarts_with not applied correctly

* tests: add some filter mathematical tests
This commit is contained in:
Bernat Vadell
2022-05-18 15:58:53 +02:00
committed by GitHub
parent 79ddd35fe0
commit 7e1b946b20
42 changed files with 914 additions and 154 deletions

View File

@@ -8,12 +8,18 @@
@input="value = $event"
/>
</template>
<template
v-else-if="
['_contains', '_ncontains', '_starts_with', '_nstarts_with', '_ends_with', '_nends_with', '_regex'].includes(
getComparator(field)
)
[
'_contains',
'_icontains',
'_ncontains',
'_starts_with',
'_nstarts_with',
'_ends_with',
'_nends_with',
'_regex',
].includes(getComparator(field))
"
>
<input-component