feat: support searchTerm in Filter Segment (#20526)

* feat: support searchTerm in Filter Segment

* update tests

* save and load searchTerm

* fix types

* add missing condition
This commit is contained in:
Eunjae Lee authored and GitHub committed 2025-04-07 05:27:58 -03:00
1 parent b6aedb830b
commit 703e20a43a
12 files changed
+133 -45

No files matched your search

@@ -0,0 +1,2 @@
-- AlterTable
ALTER TABLE "FilterSegment" ADD COLUMN "searchTerm" TEXT;
+1
View File
@@ -2028,6 +2028,7 @@ model FilterSegment {
columnVisibility Json?
columnSizing Json?
perPage Int
searchTerm String? @db.Text
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
// Creator of the segment