Support » Plugin: All-in-One Event Calendar » [Plugin: All-in-One Event Calendar] Filter: using AND not OR

  • Resolved fuchsws

    (@fuchsws)


    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!

    http://wordpress.org/extend/plugins/all-in-one-event-calendar/

Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘[Plugin: All-in-One Event Calendar] Filter: using AND not OR’ is closed to new replies.