Running into strange issue getting content into a Stash list from two grid field. A stripped down version of my code is below.
The two grid fields are {meeting_people}
and {meeting_faculty}
. In the entry I'm using to test this both grid fields have four rows. With the code below, all four rows of the field called first are stashed but only one row of the second field gets stashed.
Note: This is true even if the field order is switched in my code. That is, if I move {meeting_faculty}
above {meeting_people}
, all four rows of {meeting_faculty}
are stashed while only one row of {meeting_people}
gets stashed.
This is on an ExpressionEngine 2.9.2 build running Stash 2.6.2.
{exp:stash:set_list name="alt_faculty_{url_title}" scope="site" site="default_site" save="yes" parse_tags="yes" parse_depth="10"}
{exp:channel:entries site="default_site" channel="meetings" url_title="{segment_2}" limit="1" dynamic="no"}
<!-- first grid field - returns all -->
{meeting_people}
{stash:people_bio_override}{meeting_people:biography}{/stash:people_bio_override}
{stash:people_director}{meeting_people:director}{/stash:people_director}
{meeting_people:name} <!-- start relationship field -->
{stash:people_name}<em>people_name: </em>{meeting_people:name:title}{/stash:people_name}
{stash:people_credentials}{meeting_people:name:people_credentials}{/stash:people_credentials}
{/meeting_people:name}<!-- end relationship field -->
{/meeting_people}
<!-- second_grid field - returns only one -->
{meeting_faculty}
{stash:faculty_name}<em>faculty_name: </em>{meeting_faculty:name}{/stash:faculty_name}
{stash:faculty_bio}{meeting_faculty:bio}{/stash:faculty_bio}
{/meeting_faculty}
{/exp:channel:entries}
{/exp:stash:set_list}