I must be looking at code for too long. I'm sure there's a simple solution to this.
I have a regular page entry, where I select an organization through a playa single select.
An organization entry can have people assigned to it.
I want to show the organization's people on my page entry.
This is my template:
{exp:channel:entries channel="pages"}
Displaying people in organization ID: {related_organization:child_ids}.
{exp:playa:parents channel="people" entry_id="{related_organization:child_ids}"}
{title}<br />
{if no_parents}No results{/if}
{/exp:playa:parents}
{/exp:channel:entries}
The playa field outside the tag shows me the correct child_ids
.
The exp:playa:parents
tag renders no results.
If I hard code the entry ID in the entry_id
parameter, it works just fine.
If I do entry_id="4321|1234|{related_organization:child_ids}"
, I can see in my DB queries log that it is not even rendering {related_organization:child_ids}
at all.
It shows ... WHERE rel.child_entry_id IN (4321,1234) ...
Adding parse="inward"
doesn't have any effect.
Why isn't the tag working inside the parameter?
Update
Using an embed seems to work. But no one likes embeds anymore.
Using an equivalent stash embed doesn't work.