I'm trying to display two columns of EE entries, each entry has a grid field with a text field and an Assets field. I thought I was close on this, but clearly I'm missing the boat because the grid portion isn't spitting anything out :(
{embed="_layout/main"}
{preload_replace:the_channel="publications"}
{exp:stash:set_value name="title" value="Publications"}
{exp:stash:set name="content"}
<h1>Publications</h1>
<p class="lead-in">{lv_publications_leadin}</p>
{exp:stash:set_list name="pub" parse_tags="yes" save="yes" scope="site"}
{exp:channel:entries
channel="{the_channel}"
disable="categories|category_fields|member_data|pagination"
limit="20"
sort="desc"
status="Open"
show_future_entries="yes"
}
{stash:publication_title}{title}{/stash:publication_title}
{exp:stash:set_list:nested name="entry_files" context="{entry_id}" parse_tags="yes"}
{publication}
{stash:publication_year}{publication:year}{/stash:publication_year}
{stash:publication_file}{publication:file}{/stash:publication_file}
{/publication}
{/exp:stash:set_list:nested}
{/exp:channel:entries}
{/exp:stash:set_list}
<div class="w-row">
<div class="w-col w-col-6">
{exp:stash:get_list name="pub" sort="desc" limit="1/2"}
<div class="_97 card">
<h4>{publication_title}</h4>
<ul class="card-list">
{exp:stash:get_list:nested name="entry_files" context="{item_entry_id}" prefix="nested"}
<a href="{publication_file}"><li>{publication_year} {publication_title}</li></a>
{/exp:stash:get_list:nested}
</ul>
</div>
{/exp:stash:get_list}
</div>
<div class="w-col w-col-6">
{exp:stash:get_list name="pub" sort="desc" offset="1/2" limit="1/2"}
<div class="card">
<h4>{publication_title}</h4>
<ul class="card-list">
{exp:stash:get_list:nested name="entry_files" context="{item_entry_id}" prefix="nested"}
<a href="{publication_file}"><li>{publication_year} {publication_title}</li></a>
{/exp:stash:get_list:nested}
</ul>
</div>
{/exp:stash:get_list}
</div>
</div>
{/exp:stash:set}