We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 2954
    • 40 Posts
    Hi,

    I have a call that should be working which is not:

    [!Ditto? &parents=`32` &tpl=`ditto_featured_member` &depth=`1` &display=`all` &randomize=`1` &summarize=`1` &filter=`featured-member,’Featured’,1` &noResults=`No featured member.`!]

    This call filters the results based on Template Variable "featured-member" - which is a drop down menu with two options: ’No’ and ’Featured’

    I have confirmed through the Ditto debugger that there are three records which have the value ’Featured’ for the featured-member variable. This should exclude all records except one of them.

    I’ve also tried: &filter=`featured-member,’Featured’,7`

    That doesn’t work either.

    Can anyone tell me how to fix this?
      • 2954
      • 40 Posts
      The problem was the quotes around the value parameter:

      &filter=`featured-member,’Featured’,1`

      Should say

      &filter=`featured-member,Featured,1`