fix: search.go: pass ShouldEnable
This commit is contained in:
parent
68c11932e1
commit
8b3961e633
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user