• Hello,

    I’ve been struggling with Customized WHERE field on relationship field in Pods.

    I have a post type BOOK and taxonomy BOOKTYPE. In taxonomy, I want to have a BOOK relation field for the purpose of “featured books of this booktype”. I only want to list books associated with that booktype term to be listed. It’s an autocomplete field, like in the picture below. (example in the pic didn’t worked, ajax call of pods returns database error and shows empty term_id like WHERE ( ( booktype.term_id = ))
    SCREENSHOT

    I checked other forum posts about this (also asked in pods forum) and all of them are with hardcoded examples like:
    booktype.name = “Sci-Fi Book”
    booktype.term_id = 5

    This works but it’s not dynamic usage that I need. I also tried some of the magic tags suggested but no luck.

    Has anyone manage to make it work like this, maybe I’m missing a point?

    Thanks ahead

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Pods – Customized Where Dynamic Values for Relationships’ is closed to new replies.