Bug 40552

Summary: Allow selecting all holds from a group
Product: Koha Reporter: Pedro Amorim <pedro.amorim>
Component: Hold requestsAssignee: Bugs List <koha-bugs>
Status: Needs Signoff --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: gmcharlt, kebliss, lisette, lucas, pedro.amorim, tomascohen
Version: Main   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:
Bug Depends on: 40517    
Bug Blocks: 40551    
Attachments: Bug 40552: Preparation: Move patron page logic for reusability
Bug 40552: Allow selecting all holds from a group

Description Pedro Amorim 2025-07-30 11:50:25 UTC

    
Comment 1 Pedro Amorim 2025-07-30 11:56:08 UTC
Created attachment 184866 [details] [review]
Bug 40552: Preparation: Move patron page logic for reusability
Comment 2 Pedro Amorim 2025-07-30 11:56:11 UTC
Created attachment 184867 [details] [review]
Bug 40552: Allow selecting all holds from a group

Test plan, k-t-d, patches applied:
1) Search for 'music':
http://localhost:8081/cgi-bin/koha/catalogue/search.pl?q=music
2) Click the 'Select all' link on the left of the search toolbar
3) Click the 'Place hold' button on the same toolbar
4) On the patron input, add 'koha'
5) You need to pick the 'Pickup location' specifically for each hold. Click 'Place holds'
6) Now visit the patron details page:
http://localhost:8081/cgi-bin/koha/members/moremember.pl?borrowernumber=51
7) Click the 'Holds' tab.
8) Test that selecting the hold group number opens the hold group modal and a new 'select group holds' buttons exist.
9) Click that button, ensure it selects the group holds. Test with more holds, more groups, unselecting all beforehand, selecting all beforehand, etc.