make filters caseinsensitive
This commit is contained in:
parent
62a26f4f9c
commit
4bb8900d3a
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ export default {
|
||||||
.map(column => {
|
.map(column => {
|
||||||
const field = item[column] + '';
|
const field = item[column] + '';
|
||||||
const filter = this.filters[column];
|
const filter = this.filters[column];
|
||||||
return field.includes(filter);
|
return field.toLowerCase().includes(filter.toLowerCase());
|
||||||
}).reduce((acc, nxt) => acc && nxt, true)
|
}).reduce((acc, nxt) => acc && nxt, true)
|
||||||
);
|
);
|
||||||
const sortByOrd = R.sortBy(R.prop(this.sortBy));
|
const sortByOrd = R.sortBy(R.prop(this.sortBy));
|
||||||
|
|
Loading…
Reference in a new issue