Remove performer "is missing scenes" filter (#1414)

This commit is contained in:
peolic 2021-05-25 03:45:26 +03:00 committed by GitHub
parent fad558a618
commit 4bad988373
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View File

@ -336,7 +336,7 @@ func performerIsMissingCriterionHandler(qb *performerQueryBuilder, isMissing *st
return func(f *filterBuilder) {
if isMissing != nil && *isMissing != "" {
switch *isMissing {
case "scenes":
case "scenes": // Deprecated: use `scene_count == 0` filter instead
f.addJoin(performersScenesTable, "scenes_join", "scenes_join.performer_id = performers.id")
f.addWhere("scenes_join.scene_id IS NULL")
case "image":

View File

@ -63,7 +63,6 @@ export class PerformerIsMissingCriterion extends IsMissingCriterion {
"piercings",
"aliases",
"gender",
"scenes",
"image",
"details",
];