]> git.koha-community.org Git - koha.git/commit
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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Tue, 19 Mar 2024 08:00:57 +0000 (09:00 +0100)
commit1e0bb86fc10ca1c37ef6d1ed6772dd3cbde1656a
treeba38ecbc480861868ff58b0e5ecac1fc616a7e14
parent2f9fe5e800cd88e62810179ad3bd8e4f9fb8f3cb
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>
(cherry picked from commit d0981505ba799b78206e9945d3bd465e0a5c5ef7)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Koha/Biblio.pm
Koha/Booking.pm