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
+1
View File
@@ -41,6 +41,7 @@ func (i *impl) GetAll(filter newsdomain.Filter) ([]newsdomain.News, error) {
Tags: tags,
Category: categories,
Active: filter.Active,
Search: filter.Search,
}
return i.newsRepo.GetAll(filterSpec)
}