Browse Source

Merge pull request 'fix-489后端部分' (#573) from fix-558 into V20211101

Reviewed-on: https://git.openi.org.cn/OpenI/aiforge/pulls/573
Reviewed-by: lewis <747342561@qq.com>
pull/574/head
lewis 3 years ago
parent
commit
8bee649de4
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      models/topic.go

+ 1
- 1
models/topic.go View File

@@ -178,7 +178,7 @@ func (opts *FindTopicOptions) toConds() builder.Cond {
}

if opts.Keyword != "" {
cond = cond.And(builder.Like{"topic.name", opts.Keyword})
cond = cond.And(builder.Like{"topic.name", strings.ToLower(opts.Keyword)})
}

return cond


Loading…
Cancel
Save