mirror of
https://github.com/stashapp/stash.git
synced 2025-12-06 08:26:00 +01:00
fix typo with gallery_count
This commit is contained in:
parent
17b5d010ee
commit
a3f2d1436e
1 changed files with 2 additions and 2 deletions
|
|
@ -520,7 +520,7 @@ interface IFilterType {
|
|||
performers_filter?: InputMaybe<PerformerFilterType>;
|
||||
performer_count?: InputMaybe<IntCriterionInput>;
|
||||
galleries_filter?: InputMaybe<GalleryFilterType>;
|
||||
galleries_count?: InputMaybe<IntCriterionInput>;
|
||||
gallery_count?: InputMaybe<IntCriterionInput>;
|
||||
}
|
||||
|
||||
export function setObjectFilter(
|
||||
|
|
@ -554,7 +554,7 @@ export function setObjectFilter(
|
|||
case FilterMode.Galleries:
|
||||
// if empty, only get objects with performers
|
||||
if (empty) {
|
||||
out.galleries_count = {
|
||||
out.gallery_count = {
|
||||
modifier: CriterionModifier.GreaterThan,
|
||||
value: 0,
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue