Fix loading tasks with search
continuous-integration/drone/pr Build is failing
Details
continuous-integration/drone/pr Build is failing
Details
This commit is contained in:
parent
166023aba7
commit
b733608eeb
|
@ -336,7 +336,7 @@ func getRawTasksForLists(s *xorm.Session, lists []*List, a web.Auth, opts *taskO
|
|||
if config.DatabaseType.GetString() == "postgres" {
|
||||
where = builder.Expr("title ILIKE ?", "%"+opts.search+"%")
|
||||
} else {
|
||||
where = &builder.Like{"title LIKE ?", "%" + opts.search + "%"}
|
||||
where = &builder.Like{"title", "%" + opts.search + "%"}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue