Skip to content

ExactMatch operator does not seem to work with properties containing multiple references #3

Description

@Duske

Use Case:
There's a nodetype "project" which has a property "categories" of type references. On the category page, i want to list all projects which have the current category in their reference property.
Eel:

    ${Search.query(site).nodeType('My.Vendor:Project').exactMatch('category', node).execute()}

This works when there's only one category attached, if a 'project' has more than one category it will be not listed. Is there any possibility to check if the node is in the references list? Something like:

    ${Search.query(site).nodeType('My.Vendor:Project').isInProperty('category', node).execute()}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions