- Issue created by @ggamba
Could you give more details about the configuration of this view ?
I guess it is not related to Calendar View directly though - I guess you are trying to share filters between the view and attachment (see this answer on stackoverflow).
- 🇮🇹Italy ggamba Milano
Thank you Matthieu,
yes, I'm trying to share filters between the view and the attachment. I experimented with "Content calendar" from "Calendar View - Demo Views" module: I added an attachment after "Content calendar" page and enabled both "Inherit contextual filters" and "Inherit exposed filters".
The attachment filters content according to exposed filters in the page, but ignores the month selected in the calendar: I can choose July or June in the page and in the attachment I still have August content.I disabled AJAX to see what happens when I navigate between months and I got a parameter like this:
?calendar_timestamp=1717192800...
Then in the attachment I tried to modify the "Authored on" filter as "is greater than 1717192800" but I get (after disabling "Expose this filter") an "Invalid date format" error. If I let the filter exposed, I get an "invalid value" error in browser console.
If in the filter in the attachment I don't use epoch time but something as "2024-06-01 00:00:00", filtering works. So maybe the problem is that the attachment inherits the month filter from the page, but it is in an unexpected format?