Showing
2 changed files
with
6 additions
and
6 deletions
@@ -71,10 +71,10 @@ | @@ -71,10 +71,10 @@ | ||
71 | if (!value) { | 71 | if (!value) { |
72 | return true; | 72 | return true; |
73 | } | 73 | } |
74 | - let { name } = props || {}; | 74 | + let { title } = props || {}; |
75 | value = value.toLowerCase(); | 75 | value = value.toLowerCase(); |
76 | - name = name.toLowerCase(); | ||
77 | - return name.includes(value); | 76 | + title = title.toLowerCase(); |
77 | + return title.includes(value); | ||
78 | } | 78 | } |
79 | 79 | ||
80 | async function fetch() { | 80 | async function fetch() { |
@@ -7,10 +7,10 @@ export const createOrganizationSearch = () => { | @@ -7,10 +7,10 @@ export const createOrganizationSearch = () => { | ||
7 | if (!value) { | 7 | if (!value) { |
8 | return true; | 8 | return true; |
9 | } | 9 | } |
10 | - let { name } = props || {}; | 10 | + let { title } = props || {}; |
11 | value = value?.toLowerCase(); | 11 | value = value?.toLowerCase(); |
12 | - name = name?.toLowerCase(); | ||
13 | - return name.includes(value); | 12 | + title = title?.toLowerCase(); |
13 | + return title.includes(value); | ||
14 | }, | 14 | }, |
15 | }; | 15 | }; |
16 | }; | 16 | }; |