Skip to content

Commit

Permalink
fix: make "does not contain" filter case insensitive
Browse files Browse the repository at this point in the history
  • Loading branch information
nainglinnkhant committed Jul 4, 2024
1 parent 22430d5 commit 96cef4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/filter-column.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
isNotNull,
isNull,
not,
notLike,
notIlike,
type Column,
type ColumnBaseConfig,
type ColumnDataType,
Expand Down Expand Up @@ -51,7 +51,7 @@ export function filterColumn({
case "ilike":
return ilike(column, `%${filterValue}%`)
case "notIlike":
return notLike(column, `%${filterValue}%`)
return notIlike(column, `%${filterValue}%`)
case "startsWith":
return ilike(column, `${filterValue}%`)
case "endsWith":
Expand Down

0 comments on commit 96cef4c

Please sign in to comment.