mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 12:24:38 +03:00
Add sqlite filter builder. Add AND, OR, NOT filters to scene filter (#1115)
* Add resolution enum extension * Add filter builder * Use filterBuilder for scene query * Optimise joins * Add binary operators to scene query * Use Query for auto-tag
This commit is contained in:
@@ -103,7 +103,7 @@ func getSearchBinding(columns []string, q string, not bool) (string, []interface
|
||||
notStr := ""
|
||||
binaryType := " OR "
|
||||
if not {
|
||||
notStr = " NOT "
|
||||
notStr = " NOT"
|
||||
binaryType = " AND "
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user