Shortcode Filter Where In
-
I have 3 pods: Channel, Game and Tournament.
Channel and Tournament are linked with a relationship field with multiple option (meaning a Tournament can be on several channels and a channel can have several tournaments).
Game and Tournament are linked similarly.
In a Pods template for Games (i.e. an individual game within a tournament) – I want to display which channels are showing games for that Tournament. i.e.
Game A is Part of Tournament 1
Tournament 1 is Shown on Channels 3 & 4
Return Channel 3 & Channel 4.[pods name=”Channels” where=”Game.Tournament.meta_value IN ({@Channels.Tournaments})” template=”templatePod”]
The issue seems to be with the fact I’m trying to search in an array. Can someone please clarify the right way to approach this?
The topic ‘Shortcode Filter Where In’ is closed to new replies.