[Koha-bugs] [Bug 34479] Clear saved patron search selections after certain actions

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jan 12 10:54:39 CET 2024


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

--- Comment #24 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
Created attachment 160907
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=160907&action=edit
Bug 34479: Move patron selection history to a re-useable file

This patch takes some of the functionality for maintaining patron selections
and moves it to a new file that can be used in other template files. It also
introduces a new method for determining whether to delete the history after an
operation is complete, along with an .inc file containing the checkbox that
manages this

Test plan:
1) Navigate to Patrons and run a search
2) Use the checkboxes to select some patrons and run the three different
options in the menu bar: Add to patron list, Merge selected patrons, Batch
patron modification.
3) For each operation, you should see a checkbox asking if you want to "Keep
patrons selected for anew operation". N.B. For adding patrons to a list, you
will only see this when selecting to add them to a new list
4) When you run the operations, if you select the checkbox to keep the patrons
then when you return tho the patron search, those patrons should all be still
selected.
5) If you don't check the box, when you return to the search, your patron
selection history should be empty and no patrons should be selected
N.B. If you have run a merge operation and elected to keep the patron history,
you will only keep the patron who was kept

Signed-off-by: Sharon Dugdale <sharon.dugdale at cumberland.gov.uk>

Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>

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


More information about the Koha-bugs mailing list