Navigation überspringen

[Gelöst] View filter with OR/AND

Dieser Thread wurde gelöst. Hier ist eine Beschreibung des Problems und der Lösung.

Problem:

The issue here is that the user wanted to know if it is possible to combine 2 different filter groups with an AND or OR.

Example
[taxonomy1 AND customfield1 AND customfield2]

Solution:
Unfortunately no it isn't possible to perform an AND or OR between multiple filter groupings as a they are querying 2 different data structures in the database.

This support ticket is created vor 4 Jahre, 3 Monaten. 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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

Dieses Thema enthält 2 Antworten, hat 2 Stimmen.

Zuletzt aktualisiert von Puntorosso vor 4 Jahre, 3 Monaten.

Assistiert von: Shane.

Author
Artikel
#1972079

It's possible to have 2 different filters groups on a view?

Ex.

[taxonomy1 AND customfield1 AND customfield2]

OR

[postid]

#1972639

Shane
Unterstützer

Sprachen: Englisch (English )

Zeitzone: America/Jamaica (GMT-05:00)

Hello,

Thank you for getting in touch.

Unfortunately no it isn't possible to perform an AND or OR between multiple filter groupings as a they are querying 2 different data structures in the database.

Thanks,
Shane

#1973017

Ok, thanks.