[Résolu] Custom field filters default to AND – no option to set OR
This support ticket is created Il y a 2 années et 7 mois. There's a good chance that you are reading advice that it now obsolete.
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.
I am trying to: add a View with custom field filters saying that one of two conditions must be true in order for the post to be included
I expected to see:
- A dropdown below the custom field filters where I can choose AND / OR
Instead, I got:
- No dropdown! Where's it gone?
UPDATE: I installed Views 3.2.1 and the Dropdown reappeared. I set my View to use OR logic. I then updated Views to the latest version and it disappeared again, although the query is still set to OR.
UPDATE: I deactivated Blocks and installed an older version of Views (3.2.1). The dropdown then appeared. I set it to OR.
I updated Views to the latest version and it disappeared again (although my View still works!). So the question is, have you deliberately removed this or is it a bug?
The errata is actually wrong - it says the OR param is ignored, in reality that choice has disappeared!
I actually think my workaround of switching back to an older version of Views is better. This seems like a pretty big bug so hoping it gets fixed in next release.
This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.