I have created a category multi-select in Prismic using a Group and Select.
I'm trying to create a "similar post" feature where the 5 latest posts are returned for a category.
For example, a post might have category1, category2 and category3 assigned to it and in the "similar post" list, I want to return the 5 latest posts for category1.
Hi @teamcrisis, unfortunately at the moment there is no way to query/filter by a field inside of a Group using the GraphQL API. It works with the REST API, but that functionality hasn’t been added for the GraphQL API yet.
Hi, I have tagged this thread as a feature request and forwarded it to the @features-team.
Fares
closed , flag & select 'Something Else' to reopen.
4
This is being tracked as an open feature request.
If you have another use-case for this feature, you can 'Flag' this topic to reopen. Please use the button to show your support for the feature and check out our Feature Request Guidelines.