Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
While working on the other ajax bug I found another bug.
Same setup as the other patch. One contextual filter for content types added.
If I add a date contextual filter myself everything works fine.
But when I don't do that and just check the ajax button ALL the events get loaded on evey single navigate event. I noticed did by looking at the source code while fixing the other bug.
I'm going to look at it.
Comments
Comment #1
tim.plunkettOuch. I'll have to look at this.
Comment #2
tim.plunkettUsing
view::execute()
only re-runs the query, it doesn't call the hook used to attach the magic handler.view:preview()
has the commentTo be called externally, probably by an AJAX handler of some flavor.
, and switching the code to that makes it work again.Also, re-adding the distinct query to the default view, to ensure only the needed events are returned.
http://drupalcode.org/project/fullcalendar.git/commit/583b703
Comment #3.0
(not verified) CreditAttribution: commentedtypo