mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 04:14:39 +03:00
Make hierarchical criterion depth input optional (#1733)
This commit is contained in:
@@ -22,7 +22,6 @@ func CountByStudioID(r models.ImageReader, id int) (int, error) {
|
||||
Studios: &models.HierarchicalMultiCriterionInput{
|
||||
Value: []string{strconv.Itoa(id)},
|
||||
Modifier: models.CriterionModifierIncludes,
|
||||
Depth: 0,
|
||||
},
|
||||
}
|
||||
|
||||
@@ -34,7 +33,6 @@ func CountByTagID(r models.ImageReader, id int) (int, error) {
|
||||
Tags: &models.HierarchicalMultiCriterionInput{
|
||||
Value: []string{strconv.Itoa(id)},
|
||||
Modifier: models.CriterionModifierIncludes,
|
||||
Depth: 0,
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user