Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filtered counts on studio performer subpage #4322

Open
wants to merge 22 commits into
base: develop
Choose a base branch
from

Conversation

dogwithakeyboard
Copy link
Contributor

Following on from #4162 making a new PR as I managed to make a complete hash of updating to latest develop.

Makes the Performers' scene, image, movie and gallery counts in the Studio > Performers page return the number of scenes etc that the performer has with that studio rather than the total for the performer. On the subpage the counts filters and sorts will use the filtered number.

  • Adds a findPerformers resolver to the Studio type which accepts a PerformerFilter and FindFilter, and depth to handle the studio hierarchy.

  • Adds a new StudioPerformer type with its own count resolvers.

  • Adds a new argument to the makeQuery function to override the normal sorting behaviour when queried though the studio resolver.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant