stash/pkg/sqlite
gitgiggety 7164bb28ac
Filter studio hierarchy (#1397)
* Add basic support for hierarchical filters

Add a new `hierarchicalMultiCriterionHandlerBuilder` filter type which
can / will be used for filtering hierarchical things like the
parent/child relation of the studios.
On the frontend side a new IHierarchicalLabeledIdCriterion criterion
type has been added to accompany this new filter type.

* Refactor movieQueryBuilder to use filterBuilder

Refactor the movieQueryBuilder to use the filterBuilder just as scene,
image and gallery as well.

* Support specifying depth for studios filter

Add an optional depth field to the studios filter for scenes, images,
galleries and movies. When specified that number of included
(grant)children are shown as well. In other words: this adds support for
showing scenes set to child studios when searching on the parent studio.

Co-authored-by: WithoutPants <53250216+WithoutPants@users.noreply.github.com>
2021-06-03 20:52:19 +10:00
..
filter.go Filter studio hierarchy (#1397) 2021-06-03 20:52:19 +10:00
filter_internal_test.go added an url filter option in scenes (#1266) 2021-04-09 15:05:11 +10:00
gallery.go Filter studio hierarchy (#1397) 2021-06-03 20:52:19 +10:00
gallery_test.go Filter studio hierarchy (#1397) 2021-06-03 20:52:19 +10:00
image.go Filter studio hierarchy (#1397) 2021-06-03 20:52:19 +10:00
image_test.go Filter studio hierarchy (#1397) 2021-06-03 20:52:19 +10:00
movies.go Filter studio hierarchy (#1397) 2021-06-03 20:52:19 +10:00
movies_test.go Filter studio hierarchy (#1397) 2021-06-03 20:52:19 +10:00
performer.go Remove performer "is missing scenes" filter (#1414) 2021-05-25 10:45:26 +10:00
performer_test.go Fix performer filters and sort keys (#1413) 2021-05-24 17:45:51 +10:00
query.go Filter studio hierarchy (#1397) 2021-06-03 20:52:19 +10:00
repository.go Filter studio hierarchy (#1397) 2021-06-03 20:52:19 +10:00
scene.go Filter studio hierarchy (#1397) 2021-06-03 20:52:19 +10:00
scene_marker.go Filter studio hierarchy (#1397) 2021-06-03 20:52:19 +10:00
scene_marker_test.go Data layer restructuring (#997) 2021-01-18 12:23:20 +11:00
scene_test.go Filter studio hierarchy (#1397) 2021-06-03 20:52:19 +10:00
scraped_item.go Data layer restructuring (#997) 2021-01-18 12:23:20 +11:00
setup_test.go Filter studio hierarchy (#1397) 2021-06-03 20:52:19 +10:00
sql.go Whitespace is not trimmed from the end of query strings (#1263) 2021-04-13 10:32:52 +10:00
stash_id_test.go Data layer restructuring (#997) 2021-01-18 12:23:20 +11:00
studio.go Stash-Box Performer Tagger (#1277) 2021-05-03 14:21:20 +10:00
studio_test.go Filter studio hierarchy (#1397) 2021-06-03 20:52:19 +10:00
tag.go Tag aliases (#1412) 2021-05-26 14:36:05 +10:00
tag_test.go Tag aliases (#1412) 2021-05-26 14:36:05 +10:00
transaction.go Setup and migration UI refactor (#1190) 2021-04-12 09:31:33 +10:00