How does “Customized WHERE” work?
-
I understand simple filtering “Customized WHERE” in Pods field settings. For example, I can make the dropdown for a related pod display only posts whose names start with “TEST” by setting customized WHERE as t.post_title LIKE ‘TEST%’.
But what about a situation like this one:

I have two pod types: and they’re connected with each other through a relationship field, both multiple select.
When I go to the selection dropdown list of a post of type “pod 1”, say “TEST-902823540”, I want the customized WHERE to filter for pods of type “pod 2” that start with “TEST”. Similarly, when I go to the post titled “MISC-2354000” (of type “pod 1”) I want the dropdown to only show pods of type “pod 2” that start with “MISC”.
So what I’m looking for is a customized WHERE in the pods field settings that will be dynamically responsive. Is this feature available in pods?
I came across something called “magic tags” but am not sure if that’s available in the field settings…
The topic ‘How does “Customized WHERE” work?’ is closed to new replies.
