https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41129

--- Comment #309 from Matt Blenkinsop <[email protected]> ---
Created attachment 209505
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=209505&action=edit
Bug 41129: (QA follow-up) Fetch all visible months

- The viewport sent to the store covered only the first visible month,
  so availability stopped about ten days into the second one; bookings
  later in that month showed as free and placing over them hit a 409
- Span every month the calendar shows, and fetch the newly visible month
  when a resize widens the calendar
- Add a DatePicker spec that uses a 3-day loan, navigates forward and
  back, and expects the refetch to reach a booking late in the second
  month

Test plan:
1. Set issuelength 3 with no renewals
2. On a record with one bookable item, book the 25th-27th of next month
3. Open the modal again, select patron and pickup location
4. Navigate one month forward, then back to the current month
5. Confirm the 25th-27th of next month show as unavailable
6. Run: yarn cypress run --spec
   t/cypress/integration/Circulation/bookingsModalDatePicker_spec.ts
7. Confirm it passes; without this patch the new test fails

Assisted-by: Opus 5.5 (Anthropic)
Signed-off-by: Paul Derscheid <[email protected]>
Signed-off-by: Matt Blenkinsop <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to