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

relatedViaField & relatedViaSite #15508

Conversation

brandonkelly
Copy link
Member

Adds support for relatedViaField and relatedViaSite params on the criteria objects that are passed to relatedToAssets, relatedToCategories, relatedToEntries, relatedToTags, and relatedToUsers GraphQL arguments.

query {
  entries(relatedToEntries: {
    section: "services",
    relatedViaField: "servicesPerformed",
    relatedViaSite: "en"
  }) {
    title
  }
}

Copy link

linear bot commented Aug 8, 2024

@brandonkelly brandonkelly merged commit 3ddd1d2 into 5.4 Aug 8, 2024
3 checks passed
@brandonkelly brandonkelly deleted the feature/cms-1334-relatedviafield-relatedviasite-graphql-relation-params branch August 8, 2024 22:03
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.

1 participant