From 4bad9883737031b726826e5d956fac4b8bc14d44 Mon Sep 17 00:00:00 2001 From: peolic <66393006+peolic@users.noreply.github.com> Date: Tue, 25 May 2021 03:45:26 +0300 Subject: [PATCH] Remove performer "is missing scenes" filter (#1414) --- pkg/sqlite/performer.go | 2 +- ui/v2.5/src/models/list-filter/criteria/is-missing.ts | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/pkg/sqlite/performer.go b/pkg/sqlite/performer.go index 3c298c536..f15a120e9 100644 --- a/pkg/sqlite/performer.go +++ b/pkg/sqlite/performer.go @@ -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": diff --git a/ui/v2.5/src/models/list-filter/criteria/is-missing.ts b/ui/v2.5/src/models/list-filter/criteria/is-missing.ts index 2ab7325ec..765f9cf6f 100644 --- a/ui/v2.5/src/models/list-filter/criteria/is-missing.ts +++ b/ui/v2.5/src/models/list-filter/criteria/is-missing.ts @@ -63,7 +63,6 @@ export class PerformerIsMissingCriterion extends IsMissingCriterion { "piercings", "aliases", "gender", - "scenes", "image", "details", ];