Fix performer search columns (#1236)

* Fix performer search columns
* Update changelog
* Move changelog to new version

Co-authored-by: WithoutPants <53250216+WithoutPants@users.noreply.github.com>
This commit is contained in:
peolic
2021-03-30 06:04:57 +03:00
committed by GitHub
parent d30a68567e
commit 7acae34ed4
4 changed files with 15 additions and 3 deletions

View File

@@ -192,7 +192,7 @@ func (qb *performerQueryBuilder) Query(performerFilter *models.PerformerFilterTy
`
if q := findFilter.Q; q != nil && *q != "" {
searchColumns := []string{"performers.name", "performers.checksum", "performers.birthdate", "performers.ethnicity"}
searchColumns := []string{"performers.name", "performers.aliases"}
clause, thisArgs := getSearchBinding(searchColumns, *q, false)
query.addWhere(clause)
query.addArg(thisArgs...)