Summary: | Allow ungrouping holds | ||
---|---|---|---|
Product: | Koha | Reporter: | Pedro Amorim <pedro.amorim> |
Component: | Hold requests | Assignee: | Bugs List <koha-bugs> |
Status: | Signed Off --- | QA Contact: | Testopia <testopia> |
Severity: | enhancement | ||
Priority: | P5 - low | CC: | andrew, anneli.osterman, dcook, gmcharlt, lisette, martin.renvoize, 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: | 40552 | ||
Bug Blocks: | |||
Attachments: |
Bug 40613: Add DELETE hold groups REST API endpoint
Bug 40613: Add 'ungroup holds' button Bug 40613: Add DELETE hold groups REST API endpoint Bug 40613: Add 'ungroup holds' button |
Description
Pedro Amorim
2025-08-07 16:04:21 UTC
Created attachment 185230 [details] [review] Bug 40613: Add DELETE hold groups REST API endpoint prove t/db_dependent/api/v1/patrons_hold_groups.t Created attachment 185231 [details] [review] Bug 40613: Add 'ungroup holds' button Test plan, k-t-d, patches applied: 1) Search for 'test': http://localhost:8081/cgi-bin/koha/catalogue/search.pl?q=test 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) Click the top most checkbox to select all holds. Click the 'group selected' button. Notice the holds are grouped and the 'group hold' column shows the hold group number accordingly. 9) Test that selecting the hold group number opens the hold group modal and a new 'ungroup holds' button exist. 10) Click that button, ensure it deletes the holde group. Test with more holds, more groups, etc. Created attachment 185298 [details] [review] Bug 40613: Add DELETE hold groups REST API endpoint prove t/db_dependent/api/v1/patrons_hold_groups.t Signed-off-by: Anneli Österman <anneli.osterman@koha-suomi.fi> Created attachment 185299 [details] [review] Bug 40613: Add 'ungroup holds' button Test plan, k-t-d, patches applied: 1) Search for 'test': http://localhost:8081/cgi-bin/koha/catalogue/search.pl?q=test 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) Click the top most checkbox to select all holds. Click the 'group selected' button. Notice the holds are grouped and the 'group hold' column shows the hold group number accordingly. 9) Test that selecting the hold group number opens the hold group modal and a new 'ungroup holds' button exist. 10) Click that button, ensure it deletes the holde group. Test with more holds, more groups, etc. Signed-off-by: Anneli Österman <anneli.osterman@koha-suomi.fi> |