Skip to content

Commit

Permalink
Add title filter
Browse files Browse the repository at this point in the history
  • Loading branch information
O4epegb committed Nov 3, 2024
1 parent 23c8ba5 commit a55e4ef
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions apps/api/src/app/routes/search/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,14 @@ export const getFilterOptions = async () => {
placeholder: 'Enter player name',
transformValue: (value: string) => value.toLowerCase(),
},
{
type: 'text',
dbField: 'title',
queryName: 'Title',
conditions: defaultConditions,
placeholder: 'Enter title',
transformValue: (value: string) => value.toLowerCase(),
},
{
type: 'select',
queryName: 'Skill',
Expand Down

0 comments on commit a55e4ef

Please sign in to comment.