data-provider/core

Filter by tag in Prismic addon

javierbrea opened this issue · 2 comments

Current behaviour

Now, we can only filter by "document.type", but we have come across the situation where we have different content based on the same custom type. It this case, it would be nice if we can filter directly by tag, instead of doing it by querying by document.type and then filtering by tag in client side.

Implementation ideas
In _prismicQuery method we should add a new option to filter by tag.

This issue was originally created at XbyOrange/mercury-prismic#5. That project seems to be no longer maintained, so it should be fixed in this one.

Closed due to project discontinuation