Skip to content
This repository has been archived by the owner on Oct 29, 2023. It is now read-only.

Filter by tag in Prismic addon #252

Closed
javierbrea opened this issue Jan 11, 2020 · 2 comments
Closed

Filter by tag in Prismic addon #252

javierbrea opened this issue Jan 11, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@javierbrea
Copy link
Member

javierbrea commented Jan 11, 2020

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.

@javierbrea javierbrea added the enhancement New feature or request label Jan 11, 2020
@javierbrea
Copy link
Member Author

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.

@javierbrea javierbrea changed the title Filter by tag Filter by tag in Prismic addon Nov 10, 2020
@javierbrea javierbrea transferred this issue from data-provider/prismic May 27, 2022
@javierbrea
Copy link
Member Author

Closed due to project discontinuation

@javierbrea javierbrea closed this as not planned Won't fix, can't repro, duplicate, stale Oct 29, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant