Skip to content

Commit a464ba8

Browse files
AndersonCRochafagundesjg
authored andcommitted
fix: make shelter search case insensitive
1 parent 68b5aa5 commit a464ba8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/shelter/shelter.service.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,8 +222,8 @@ export class ShelterService {
222222
AND: [
223223
{
224224
OR: [
225-
{ address: { contains: payload.search } },
226-
{ name: { contains: payload.search } },
225+
{ address: { contains: payload.search, mode: 'insensitive' } },
226+
{ name: { contains: payload.search, mode: 'insensitive' } },
227227
],
228228
},
229229
],

0 commit comments

Comments
 (0)