Koha-clms/svc
Aleisha Amohia 559801d408
Bug 15516: Allow to reserve first available item from a group of titles
It can be useful, for instance, if a library has the same title from
different publishers (so 1 title but several biblio records) but the
user only wants a copy of the book, regardless of the publisher.

Test plan:
0. Run updatedatabase.pl and misc/devel/update_dbix_class_files.pl
1. Go to intranet search, display some results, click on some checkboxes
and click on 'Place hold' button at the top of the results.
2. Search for a patron
3. Check the 'Treat as hold group' checkbox
4. Click on 'Place hold'
5. In the next screen you should see all the holds you placed with the
additional text '(part of a hold group)' in Details column.
6. Click on the "hold group" link. A modal window should appear with
the content of the hold group (a list of holds)
7. Check in an item of one of the reserved biblios and confirm the hold
8. The hold status is changed to Waiting, and all other holds are deleted.
The other holds will also be removed from the holds queue.
9. Confirm tests pass
- t/db_dependent/Koha/Holds.t
- t/db_dependent/Reserves/HoldGroup.t
Note: the "hold group" link is displayed in the following pages:
- reserve/request.pl
- circ/circulation.pl
- members/moremember.pl
- circ/pendingreserves.pl
- circ/view_holdsqueue.pl
Note: A hold group is counted as only one hold

Sponsored-by: Catalyst IT

Signed-off-by: Michal Denar <black23@gmail.com>
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>

Signed-off-by: Michal Denar <black23@gmail.com>
Signed-off-by: Pedro Amorim <pedro.amorim@openfifth.co.uk>
Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2025-09-03 11:42:00 -06:00
..
cataloguing Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
club Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
config Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
letters Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
mana Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
members Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
records Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
virtualshelves Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
article_request Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
authentication Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
authorised_values Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
barcode Bug 39325: Automatic fix 2025-04-28 18:51:22 +02:00
bib Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
bib_framework Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
bib_profile Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
checkin Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
checkout_notes Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
checkouts Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
convert_report Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
cover_images Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
creator_batches Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
holds Bug 15516: Allow to reserve first available item from a group of titles 2025-09-03 11:42:00 -06:00
import_bib Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
localization Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
new_bib Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
problem_reports Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
recall Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
renew Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
report Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
return_claims Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
split_callnumbers Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00