Skip to content

Can't filter by tag value in GROQ query #34

@matt-koevort

Description

@matt-koevort

Filtering by tag value does not work as expected, e.g.:

*[_type == "post" && "featured" in tags[].value]

But doing the same with label does work, although I'd prefer to use value.

*[_type == "post" && "Featured" in tags[].label]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions