Skip to content

Commit

Permalink
✨ Feat: 태그 검색 ILIKE 나가도록 변경
Browse files Browse the repository at this point in the history
대소문자 제약 없이 검색 가능

#
  • Loading branch information
ks1ksi committed Sep 12, 2023
1 parent 03ea383 commit c99d506
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tag/tag.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export class TagService {
},
where: {
user: { uid },
name: { contains: query },
name: { contains: query, mode: 'insensitive' },
},
orderBy: [{ documents: { _count: 'desc' } }, { name: 'asc' }],
take: limit,
Expand Down

0 comments on commit c99d506

Please sign in to comment.