fix: search.go: pass ShouldEnable

This commit is contained in:
Paul Pan 2023-12-31 16:09:02 +08:00
parent 68c11932e1
commit 8b3961e633
Signed by: Paul
GPG Key ID: D639BDF5BA578AF4

View File

@ -37,6 +37,7 @@ func (h *handler) Search(c *gin.Context) {
param := problem.QueryData{ param := problem.QueryData{
Keyword: req.Keyword, Keyword: req.Keyword,
Tag: req.Tag, Tag: req.Tag,
ShouldEnable: true,
Offset: req.Offset, Offset: req.Offset,
Limit: req.Limit, Limit: req.Limit,
Count: &count, Count: &count,