[Koha-bugs] [Bug 29212] Use Flatpickr on OPAC pages

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Nov 3 14:14:07 CET 2021


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

--- Comment #14 from Owen Leonard <oleonard at myacpl.org> ---
Created attachment 127250
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=127250&action=edit
Bug 29212: (follow-up) Fixes to suspend hold process

This patch reworks the process of suspending an individual hold from the
patron's hold list. Instead of repeating the modal markup in each line
of the holds table, a single modal is re-used.

A "focus: false" is added to the modal via a data-attribute in order to
overcome problems with selecting months and using keyboard navigation in
the calendar popup.

To test, apply the patch and log into the OPAC as a user with holds.

- View the holds tab under "Your summary."
- Click the "Suspend" button next to one of the holds.
- You should see a modal which shows the title of the item in question.
- Test that the date picker works correctly:
  - Test selecting a month and year
  - Test selecting a date both with the mouse and by using arrow keys.
  - Test that you can clear the selected date both by clicking the X and
    by clicking the text link.
- Select a date and close the modal without submitting the suspension.
- Click the "Suspend" link on another title to confirm that the date
  picker still works correctly.
- Submit a suspension and confirm that the it completes successfully.
-

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list