solspace / craft-calendar

Calendar for Craft: The most reliable and powerful event management plugin for Craft.
http://docs.solspace.com/craft/calendar/v5
Other
15 stars 14 forks source link

Calendar > Events view is paginating incorrectly #172

Closed darylknight closed 1 year ago

darylknight commented 1 year ago

Describe the bug or issue you're experiencing

We have a site with 700+ calendar events. The title of each event is generated automatically based on the Entry it's related to. In the Events list view in the control panel, if I sort by Title alphabetically, it sorts it really weirdly. So on the first page, instead of getting all entries that start with A-D, then on page two the entries starting with D-G, for examepl - instead I have page one listing a bunch of entries from A-Z, then on page 2 a different set of entries with titles starting from A-Z

URL: http://sitename.test/admin/calendar/events/p2?site=english&source=*&sort=title-asc

Beginning of Page 1:

image

Beginning of page 2:

image

Expected behavior Entries sorted by title should order all 700 entries and show me the first 100 in order, not just order a random selection of the 700

Craft & Plugin Info (please complete the following information):

kjmartens commented 1 year ago

Sorry for the trouble @darylknight. I believe this might be a complication from Calendar using its own approach to account for recurrence rules and such. I'm not sure if there's an easy fix for this, but I've noted it and will have a developer investigate the issue soon. šŸ™‚

darylknight commented 1 year ago

Got it - thanks!

kjmartens commented 1 year ago

This should be resolved in Calendar 4.0.3 now. Sorry for the wait. šŸ™‚