Skip to content

Allow looking up if the entity is some other entity's collection #221

@dkarlovi

Description

@dkarlovi
                        {# TODO: this is a bit rough, improve support in YASSG #}
                        {% set count = yassg_find_all('articles', {condition: condition ~ (condition ? ' and ' : null) ~ '\''~ item.slug ~'\' in item.'~type~'.column("slug")'})|length %}

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions