Creating Complex Filters #5524
Ceequester
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
|
if you urlencode your filter, you can just append it |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
So, I don't have time to fully rabbit-hole my way into a design for this right now but one thing that would be greatly appreciated is a way to convey complex filters through the current filter system. I would be satisfied with just a "Add your own GraphQL filter" that would be injected in instead of building a filter but eventually it would be nice if I could convey the same level of detailed logic with the UI as I can with the GraphQL filter. For an example of something that I don't believe is possible with the current logic here's a query I would like to be able to use as a filter:
{ findScenes(scene_filter: { AND:{ OR: { stash_id_endpoint: { endpoint: "https://theporndb.net/graphql", modifier: IS_NULL } tags: { modifier: INCLUDES_ALL excludes: [1550] } } stash_id_endpoint: { endpoint: "https://stashdb.org/graphql", modifier: IS_NULL } tags: { modifier: INCLUDES_ALL excludes: [1549] } } path: { value: "/data/archive/adult/videos/" modifier: MATCHES_REGEX } }) { scenes { title files { path } } } }Beta Was this translation helpful? Give feedback.
All reactions