mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 04:44:37 +03:00
Containing Group/Sub-Group relationships (#5105)
* Add UI support for setting containing groups * Show containing groups in group details panel * Move tag hierarchical filter code into separate type * Add depth to scene_count and add sub_group_count * Add sub-groups tab to groups page * Add containing groups to edit groups dialog * Show containing group description in sub-group view * Show group scene number in group scenes view * Add ability to drag move grid cards * Add sub group order option * Add reorder sub-groups interface * Separate page size selector component * Add interfaces to add and remove sub-groups to a group * Separate MultiSet components * Allow setting description while setting containing groups
This commit is contained in:
@@ -23,6 +23,14 @@ type GroupFilterType struct {
|
||||
TagCount *IntCriterionInput `json:"tag_count"`
|
||||
// Filter by date
|
||||
Date *DateCriterionInput `json:"date"`
|
||||
// Filter by containing groups
|
||||
ContainingGroups *HierarchicalMultiCriterionInput `json:"containing_groups"`
|
||||
// Filter by sub groups
|
||||
SubGroups *HierarchicalMultiCriterionInput `json:"sub_groups"`
|
||||
// Filter by number of containing groups the group has
|
||||
ContainingGroupCount *IntCriterionInput `json:"containing_group_count"`
|
||||
// Filter by number of sub-groups the group has
|
||||
SubGroupCount *IntCriterionInput `json:"sub_group_count"`
|
||||
// Filter by related scenes that meet this criteria
|
||||
ScenesFilter *SceneFilterType `json:"scenes_filter"`
|
||||
// Filter by related studios that meet this criteria
|
||||
|
||||
Reference in New Issue
Block a user