Lava Example - 61 | Rock Community

Lava Example - 73


Prompt

Create an entity command that finds anyone with the word "Pastor" in their Position attribute.

Initial Code
Solution Lava
<ol>
    {% person where:'Position *= "Pastor"' %}
        {% for person in personItems %}
            <li>{{ person.FullName }} ({{ person | Attribute:'Position' }})</li>
        {% endfor %}
    {% endperson %}
</ol>