Improve studio/tag/performer filtering (#3619)

* Support excludes field
* Refactor studio filter
* Refactor tags filter
* Support excludes in tags
---------
Co-authored-by: Kermie <kermie@isinthe.house>
This commit is contained in:
WithoutPants
2023-05-25 12:03:49 +10:00
committed by GitHub
parent 45e61b9228
commit 62b6457f4e
30 changed files with 1105 additions and 117 deletions

View File

@@ -1011,7 +1011,7 @@ INNER JOIN (` + valuesClause + `) t ON t.column2 = pt.tag_id
f.addLeftJoin("performer_tags", "", "performer_tags.gallery_id = galleries.id")
addHierarchicalConditionClauses(f, tags, "performer_tags", "root_tag_id")
addHierarchicalConditionClauses(f, *tags, "performer_tags", "root_tag_id")
}
}
}