]> git.koha-community.org Git - koha.git/commit
Bug 33791: Pass itemnumber to $hold->fill
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Mon, 22 May 2023 11:14:25 +0000 (11:14 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 22 May 2023 17:46:30 +0000 (14:46 -0300)
commitbd5c5eaa38f75297efde5a096d30ad65eff9a658
tree1e7059cf70918f8d10e07cbaff830da3407556da
parent306439b4c6f4d90bc8d46e6f76aac2f5b9f11cd8
Bug 33791: Pass itemnumber to $hold->fill

Test plan:

Without this patch:
Place next available level on some book for patron A.
Checkout this book directly to patron A.
Check old_reserves table for this reserve; does not have itemnumber.

With this patch:
Do the same.
In old_reserves the itemnumber should be saved.
Run again t/db_dependent/Koha/Hold.t. Should pass.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
C4/Reserves.pm
Koha/Hold.pm