mirror of https://gitee.com/answerdev/answer.git
update search add question search tags
This commit is contained in:
parent
72866de5c1
commit
9e5196c0c2
|
@ -83,7 +83,7 @@ func (tr *tagRepo) GetTagListByName(ctx context.Context, name string, limit int,
|
|||
session.Where(builder.Eq{"status": entity.TagStatusAvailable})
|
||||
session.Limit(limit).Asc("slug_name")
|
||||
if !hasReserved {
|
||||
cond.Recommend = false
|
||||
cond.Reserved = false
|
||||
session.UseBool("recommend", "reserved")
|
||||
} else {
|
||||
session.UseBool("recommend")
|
||||
|
|
Loading…
Reference in New Issue