LOW Search - relationship - child in a child or nested children
We have a channel which we search and filter on. Lets call this Training.
This is the default channel we return results on 90% of the time.
A training entry has a related field (native) where we select training date entries - each date is an entry in the training_dates channel.
When adding a training_date entry we can relate a location from the training_locations channel.
What I would like to be able to do is filter results from the training channel, where the child training_dates entry has a training_locations of X.
So a child:child.
For example (this does not work)
<select name="child:training_dates:training_locations[]" class="form-control">
<option value="">-- Select location --</option>
{exp:channel:entries channel="training_locations" dynamic="no"}
<option value="{entry_id}"{if low_search_child:training_dates:training_locations ~ '/\b'.entry_id.'\b/'} selected{/if}>
{title}
</option>
{/exp:channel:entries}
</select>
Replies
Low 6 Feb 2016 08:26
Not possible out of the box, but possible with a custom filter. Try and create your own, or contact me if you want me to build it for you.