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) {
|
return func(f *filterBuilder) {
|
||||||
if isMissing != nil && *isMissing != "" {
|
if isMissing != nil && *isMissing != "" {
|
||||||
switch *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.addJoin(performersScenesTable, "scenes_join", "scenes_join.performer_id = performers.id")
|
||||||
f.addWhere("scenes_join.scene_id IS NULL")
|
f.addWhere("scenes_join.scene_id IS NULL")
|
||||||
case "image":
|
case "image":
|
||||||
|
|
|
@ -63,7 +63,6 @@ export class PerformerIsMissingCriterion extends IsMissingCriterion {
|
||||||
"piercings",
|
"piercings",
|
||||||
"aliases",
|
"aliases",
|
||||||
"gender",
|
"gender",
|
||||||
"scenes",
|
|
||||||
"image",
|
"image",
|
||||||
"details",
|
"details",
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in New Issue