mirror of https://github.com/stashapp/stash.git
Remove performer "is missing scenes" filter (#1414)
This commit is contained in:
parent
fad558a618
commit
4bad988373
|
@ -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":
|
||||
|
|
|
@ -63,7 +63,6 @@ export class PerformerIsMissingCriterion extends IsMissingCriterion {
|
|||
"piercings",
|
||||
"aliases",
|
||||
"gender",
|
||||
"scenes",
|
||||
"image",
|
||||
"details",
|
||||
];
|
||||
|
|
Loading…
Reference in New Issue