Backend event search scopes broken
-
Searching for events in the backend currently handles scopes incorrectly.
1. It uses “future” as the default scope. It should use the sitewide default scope from plugin settings.
2. The “future” scope does not find any events.
3. The “all” scope finds events, which is great. But all the other scopes are broken and either find no events or act the same as the “all” scope.
Example:
We have upcoming events this month with “ABC” in the title. Searching for them with the “future” scope does not find any of them. Choosing the scope “all” finds them, and all the past ones:
wp-admin/edit.php?s=abc&post_status=all&post_type=event&action=-1&m=0&scope=all&event-categories=0&filter_action=Filter&paged=1&mode=list&action2=-1. Setting the scope as “month” does not return any events. Same for “next-month” and “1-month”. Using “past” gives both the past and upcoming ones, same as “all”. Our custom scopes all behave the same as “all”.On the front end the scopes behave correctly. Issue is with back end only.
The topic ‘Backend event search scopes broken’ is closed to new replies.