Koha/koha-tmpl/intranet-tmpl/prog/en/modules
Owen Leonard f64cc6b472 Bug 28867: Use Bootstrap button menu and modal for adding patrons to lists
This patch reworks the controls for adding patrons to a list from the
patron search results page. The <select> is converted to a Bootstrap
dropdown menu, and the list creation form is moved into a Bootstrap
modal.

To test, apply the patch and rebuild the staff interface CSS
(https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff_client).

- In the staff interface, perform a patron search that will return
  multiple results.
- In the toolbar at the top of the search results you should see two
  disabled Bootstrap-styled buttons: "Add to patron list" and "Merge
  selected patrons."
- The "Select all" and "Clear all" links should work to enable and
  disable the toolbar buttons.
- "Clear all" and then check the checkbox next to one of the results.
  The "Add to patron list" button should be enabled.
- Check a second checkbox. The "Merge selected patrons" button should be
  enabled.
- Test the "Add to patron list" button. It should trigger a dropdown
  menu listing existing patrons lists and a "New list" link.
  - Test adding to an exising patron list. It should trigger a message
    at the top of the page which shows a link to that list.
  - Test adding to a new list. It should trigger a Bootstrap modal where
    you can enter the name of the new list.
    - Submitting the list title form should close the modal and trigger
      the display of the message showing how many patrons were added to
      your new list. The link to the new list should be correct.
- Test the "Merge selected patrons" button. It should send the selected
  patrons to the patron merge screen.

Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-10-21 12:24:04 +02:00
..
acqui Bug 27287: Make note fields from orders history searchable 2021-10-21 12:24:04 +02:00
admin Bug 29200: Remove Adlibris cover service 2021-10-21 12:24:04 +02:00
authorities Bug 29137: Add new syspref to disable AV creation within the cataloguing module 2021-10-01 16:09:55 +02:00
basket
batch Bug 29244: Add dialog class where missing in print-notices.tt 2021-10-21 12:24:04 +02:00
catalogue Bug 28180: Fix collision with existing verify_images 2021-10-21 12:24:04 +02:00
cataloguing Bug 28445: Use the task queue for the batch delete and update items tool 2021-10-18 11:28:40 +02:00
circ Bug 28084: Standardize: Cardnumber, Card number, Card 2021-10-21 12:24:04 +02:00
clubs Bug 29240: Rename start_for with date_to 2021-10-19 14:08:09 +02:00
common
course_reserves Bug 28898: (follow-up) Add context to some more occurrences of Term in course reserves 2021-09-21 20:22:57 +02:00
errors Bug 28438: Capitalization: Various corrections 2021-09-28 15:12:45 +02:00
ill Bug 29240: Rename start_for with date_to 2021-10-19 14:08:09 +02:00
installer Bug 25078: Keep atomic updates in "atomicupdate" dir 2021-08-16 11:55:56 +02:00
labels Bug 29240: Rename start_for with date_to 2021-10-19 14:08:09 +02:00
mana
members Bug 28867: Use Bootstrap button menu and modal for adding patrons to lists 2021-10-21 12:24:04 +02:00
offline_circ
onboarding
patron_lists Bug 16446: (follow-up) Fix translation and adjust radio buttons 2021-10-21 12:24:04 +02:00
patroncards Bug 28438: Capitalization: Various corrections 2021-09-28 15:12:45 +02:00
plugins Bug 28438: Capitalization: Various corrections 2021-09-28 15:12:45 +02:00
pos Bug 29240: Rename start_for with date_to 2021-10-19 14:08:09 +02:00
reports Bug 29225: Don't hide subgroup filter on pag load 2021-10-21 10:21:50 +02:00
reserve Bug 29116: Use a pre-existing accessor instead of reimplementing it 2021-10-12 11:15:32 +02:00
reviews
rotating_collections
serials Bug 29240: Rename start_for with date_to 2021-10-19 14:08:09 +02:00
services
suggestion Bug 28983: Use Flatpickr on various pages 2021-10-05 10:58:14 +02:00
tags Bug 29240: Rename start_for with date_to 2021-10-19 14:08:09 +02:00
test
tools Bug 28084: Standardize: Cardnumber, Card number, Card 2021-10-21 12:24:04 +02:00
virtualshelves
about.tt Bug 29209: Credits for Saxion in Dutch translation 2021-10-15 11:34:26 +02:00
auth.tt Bug 28914: Fix wording in authentication forms 2021-09-20 12:35:41 +02:00
intranet-main.tt Bug 29020: Add link on the mainpage for users without admin access 2021-10-19 09:29:09 +02:00