Bug 35248: Refactor - Move assign_item_for_booking
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 7 Feb 2024 17:10:40 +0000 (17:10 +0000)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Fri, 15 Mar 2024 08:38:50 +0000 (09:38 +0100)
commitd0981505ba799b78206e9945d3bd465e0a5c5ef7
treeec98ab7f22e65b8a6eacc5c108c79b85538553cc
parent89fc242e97a83fc83748e4a5480c648ffe6dcb66
Bug 35248: Refactor - Move assign_item_for_booking

This routine really belongs inside Koha::Booking rather than
Koha::Biblio. This patch moves it there, renames with _ to highlight
it's private nature.

Test plan
1) Confirm that t/db_dependant/Koha/Booking.t still passes, specifically
   the 'store' test.

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Koha/Biblio.pm
Koha/Booking.pm