fix: search news title by query

This commit is contained in:
ericprd
2025-03-24 18:11:08 +08:00
parent 09d9c4efb8
commit a68780f09e
4 changed files with 9 additions and 1 deletions
+2 -1
View File
@@ -52,11 +52,12 @@ type NewsUpdate struct {
}
type Filter struct {
Category, Tags, Active string
Category, Tags, Active, Search string
}
type NewsFilter struct {
Tags []string
Category []string
Active string
Search string
}