CoderDojo / community-platform

Zen, the CoderDojo Community Platform!
https://zen.coderdojo.com
MIT License
121 stars 55 forks source link

Session listings share paging index in event management #1116

Open alan-donnelly opened 7 years ago

alan-donnelly commented 7 years ago

In event management, the page index appears to be shared across sessions. This means that if you page into a session with a large number of attendees and then view a session with small number of attendees, the small session shows 'no attendees' if in the large session you've paged beyond the number of pages in the small session.

Steps to reproduce:

  1. Create an event with more than one session
  2. In one session, add 21 or more attendees
  3. In the other session, add >1 <= 20 attendees
  4. Go to My Dojos -> Event -> Manage
  5. Expand the session with 21 or more attendees and page to the second page
  6. Expand the session with <20 attendees. Session shows 'no outstanding applications' because it has paged beyond the number of attendees in the event (i.e. viewing page 2 whereas the event has only 1 page of attendees).
Wardormeur commented 7 years ago

Thanks for the very detailled report ! That's probably a scoping issue, we'll have a look into it :)