baltimorecounty / BCPL-assets

Client side assets for the Baltimore County Public Library website
4 stars 0 forks source link

BCPL Events Page Sometimes Not Chronologically Sorted #663

Open jdomasky opened 5 years ago

jdomasky commented 5 years ago

In its default state, the BCPL Find an Event page displayed the events of the current day out of chronological order. This occurred in the morning on June 13.

To Reproduce Steps to reproduce the behavior:

  1. Go to https://www.bcpl.info/events-and-programs/list.html#!/
  2. Click on 'Load Next 10 Events'
  3. Click on 'Load Next 10 Events' again, if necessary
  4. Scroll down and observe the sort order of the events

Expected behavior Each day's events should be displayed in chronological order.

Additional context When this issue occurs, the events are sorted up through noon of the current day, and then the sort order goes back in time and starts over with earlier events. Events do not seem to be repeated.

Similar Issue BCPL Events Page Displays Current Day in Two Lists #660

mcorasan commented 3 years ago

@jdomasky - I'm having trouble replicating. Can you try to reproduce the issue again and let us know if it's still present?

jdomasky commented 3 years ago

@mcorasan - Thanks for trying to replicate this issue! I believe this only occurs when there are more than 10 events on a single day. Before the pandemic, BCPL always had more than 10 events on weekdays, so we'll have to wait until the volume of events increases before we can confirm if the issue resolved itself. Reflecting on this, I'm guessing the problem was associated with the "Load More" function, but I'm not sure.