Can’t seem to find out how this is possible, but is there a way to compare and see differences between 2 stash set_list arrays?
For instance:
{exp:stash:set_list name="location_list" parse_tags="yes"}
{exp:structure_entries depth="999" parent="8"}
{stash:item_title}{title}{/stash:item_title}
{stash:item_id}{entry_id}{/stash:item_id}
{/exp:structure_entries}
{/exp:stash:set_list}
and
{exp:stash:set_list name="checked_locations" parse_tags="yes"}
{exp:channel:entries channel="checkins" author_id="{logged_in_member_id}" dynamic="no" }
{stash:item_title}{title}{/stash:item_title}
{stash:item_id}{entries_location}{entry_id}{/entries_location}{/stash:item_id}
{/exp:channel:entries}
{/exp:stash:set_list}
In the above, item_id returns the entry_id of a Playa field. So, would it be possible to compare these 2 lists and only output the ones that don’t have a match? It’s to create a drop down of the entries that don’t have an existing Playa relationship.