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

tim.plunkett’s picture

Ouch. I'll have to look at this.

tim.plunkett’s picture

Status: Active » Fixed

Using view::execute() only re-runs the query, it doesn't call the hook used to attach the magic handler.
view:preview() has the comment To 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

Status: Fixed » Closed (fixed)

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

Anonymous’s picture

Issue summary: View changes

typo