mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 12:24:38 +03:00
Fix Performers Is Missing: stash ID filter (#1681)
* Fix Performers Is Missing: stash ID filter. Fixes #1679
This commit is contained in:
@@ -345,6 +345,9 @@ func performerIsMissingCriterionHandler(qb *performerQueryBuilder, isMissing *st
|
|||||||
case "image":
|
case "image":
|
||||||
f.addJoin(performersImageTable, "image_join", "image_join.performer_id = performers.id")
|
f.addJoin(performersImageTable, "image_join", "image_join.performer_id = performers.id")
|
||||||
f.addWhere("image_join.performer_id IS NULL")
|
f.addWhere("image_join.performer_id IS NULL")
|
||||||
|
case "stash_id":
|
||||||
|
qb.stashIDRepository().join(f, "performer_stash_ids", "performers.id")
|
||||||
|
f.addWhere("performer_stash_ids.performer_id IS NULL")
|
||||||
default:
|
default:
|
||||||
f.addWhere("(performers." + *isMissing + " IS NULL OR TRIM(performers." + *isMissing + ") = '')")
|
f.addWhere("(performers." + *isMissing + " IS NULL OR TRIM(performers." + *isMissing + ") = '')")
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -30,6 +30,7 @@
|
|||||||
* Added de-DE language option. ([#1578](https://github.com/stashapp/stash/pull/1578))
|
* Added de-DE language option. ([#1578](https://github.com/stashapp/stash/pull/1578))
|
||||||
|
|
||||||
### 🐛 Bug fixes
|
### 🐛 Bug fixes
|
||||||
|
* Fix SQL error when filtering for Performers missing stash IDs. ([#1681](https://github.com/stashapp/stash/pull/1681))
|
||||||
* Fix Play Selected scene UI error when one scene is selected. ([#1674](https://github.com/stashapp/stash/pull/1674))
|
* Fix Play Selected scene UI error when one scene is selected. ([#1674](https://github.com/stashapp/stash/pull/1674))
|
||||||
* Fix race condition panic when reading and writing config concurrently. ([#1645](https://github.com/stashapp/stash/issues/1343))
|
* Fix race condition panic when reading and writing config concurrently. ([#1645](https://github.com/stashapp/stash/issues/1343))
|
||||||
* Fix performance issue on Studios page getting studio image count. ([#1643](https://github.com/stashapp/stash/pull/1643))
|
* Fix performance issue on Studios page getting studio image count. ([#1643](https://github.com/stashapp/stash/pull/1643))
|
||||||
|
|||||||
Reference in New Issue
Block a user