mirror of https://gitee.com/answerdev/answer.git
Merge branch 'ai/0.4.0/tag' into 'test'
update search add question search tags See merge request opensource/answer!236
This commit is contained in:
commit
beb5603b01
|
@ -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