From 4bb8900d3af720e06ded75ca08f5917f550f6b75 Mon Sep 17 00:00:00 2001 From: jedi Date: Fri, 13 Dec 2019 02:17:54 +0100 Subject: [PATCH] make filters caseinsensitive --- src/mixins/data-container.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mixins/data-container.js b/src/mixins/data-container.js index b50760d..6edb923 100644 --- a/src/mixins/data-container.js +++ b/src/mixins/data-container.js @@ -13,7 +13,7 @@ export default { .map(column => { const field = item[column] + ''; const filter = this.filters[column]; - return field.includes(filter); + return field.toLowerCase().includes(filter.toLowerCase()); }).reduce((acc, nxt) => acc && nxt, true) ); const sortByOrd = R.sortBy(R.prop(this.sortBy));