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?
The problem was the quotes around the value parameter:
&filter=`featured-member,’Featured’,1`
Should say
&filter=`featured-member,Featured,1`