From 443a961406203ecdf24dff4ceb1b4f04b0f808f8 Mon Sep 17 00:00:00 2001 From: Luke Aeschleman Date: Mon, 5 Apr 2021 07:51:20 -0400 Subject: [PATCH] fix case insensitive search --- components/MeListPage.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/MeListPage.vue b/components/MeListPage.vue index 59f80497..ecef37b1 100644 --- a/components/MeListPage.vue +++ b/components/MeListPage.vue @@ -161,7 +161,7 @@ export default { default: (item, search = null, filters = [], selectedFilters = {}) => { const matches = [] if (search && search.length > 0) { - matches.push(item.name.toLowerCase().includes(search)) + matches.push(item.name.toLowerCase().includes(search.toLowerCase())) } for (const filter of filters) { // filter value