i added an exposed filter to my calendar view, and it works fine in the preview on the view edit page, but when the view is saved and I actually go to the path of the calendar, the filter does nothing. no errors, just nothing filtered in the calendar. the url does contain the filter querystring.

any ideas? might this be a views issue, not a calendar issue?

thanks.

Comments

chadd’s picture

don't know if this helps (or is even related), but when i check the 'Reduce duplicates' option in the exposed filter, everything saves fine, and the calendar loads as normal (with the nodes reduced and no duplicates), but now if i try to use the exposed filter, it still displays all the results in the calendar, and it also generates the following errors:

warning: Invalid argument supplied for foreach() in /htdocs/sites/all/modules/views/includes/handlers.inc on line 516.

user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND (node.status <> 0) AND (node.type in ('mixed'))) AND ((FROM_UNIXTIME(n' at line 6 query: SELECT node.nid AS nid, node.changed AS node_changed, node.title AS node_title, node.type AS node_type FROM node node WHERE (() AND (node.status <> 0) AND (node.type in ('mixed'))) AND ((FROM_UNIXTIME(node.changed) >= '2008-05-01 05:00:00' AND FROM_UNIXTIME(node.changed) <= '2008-06-01 04:59:59')) in /htdocs/sites/all/modules/views/includes/view.inc on line 650.

as long as the exposed filter is set to -All- in the dropdown, the error doesn't show up, but as soon as you apply the filter, the error messages appear.

KarenS’s picture

Status: Active » Fixed

I just released a new 6.2-beta2 version for both Calendar and Date, so update to the latest code for both modules. There is documentation for the way the Calendar now works on the Calendar project page.

If you still have problems after that, open a new issue marked with the beta2 version so I know it's still a problem there.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.