[Resolved] [Plugin: All-in-One Event Calendar] Filter: using AND not OR
Having the filters by category and tags is a very great feature!
However I would like to change the behaviour so it’s combining the filter settings (AND sql query) instead of adding it (OR/IN query).
So, for now when you select a category and tags the result will show events for the category OR tags – changing it would result in less events where you can use filters to narrow down your search instead of increasing it.
seems to me this is could be changend within the “class-ai1ec-events-helper.php”, at function filter_by_terms().
Does someone now how to change the query so it returns only posts having all terms? Very Much appreciated, thanks!
- The topic ‘[Resolved] [Plugin: All-in-One Event Calendar] Filter: using AND not OR’ is closed to new replies.