I have got a bunch of entries in this relationship and i want to spit them out and group them by day. So, i thought i could use Stash to capture this, group them into a list for each day and the below is my sorry effort.
It does work, but it's not appending the row of data, it's only ever one row as i guess it's creating and destroying those lists over and over. I can't see any other way to do this though. Any ideas would be greatly appreciated!
{parents field="products-lessons-pool"}
{exp:stash:set_list name='{parents:products-lessons-day}' parse_tags="yes" save="yes" scope="site"}
{stash:class}{parents:products-lessons-class:title}{/stash:class}
{stash:time}{parents:products-lessons-time format="%g:%i %a"}{/stash:time}
{stash:day}{parents:products-lessons-day}{/stash:day}
{stash:entry_id}{parents:entry_id}{/stash:entry_id}
{stash:price}{parents:product_price}{/stash:price}
{/exp:stash:set_list}
{/parents}