mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 20:34:37 +03:00
Treat empty string columns as missing (#852)
This commit is contained in:
@@ -220,7 +220,7 @@ func (qb *PerformerQueryBuilder) Query(performerFilter *PerformerFilterType, fin
|
||||
`
|
||||
query.addWhere("performers_image.performer_id IS NULL")
|
||||
default:
|
||||
query.addWhere("performers." + *isMissingFilter + " IS NULL")
|
||||
query.addWhere("performers." + *isMissingFilter + " IS NULL OR TRIM(performers." + *isMissingFilter + ") = ''")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user