[Koha-bugs] [Bug 27058] Cannot place hold to ordered item when on shelf holds are not allowed

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Feb 19 08:53:56 CET 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27058

--- Comment #15 from Joonas Kylmälä <joonas.kylmala at helsinki.fi> ---
Created attachment 117021
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=117021&action=edit
Bug 27058: Remove confusing and unnecessary $biblionumber1 variable

The code is much more understandable now because with $biblio2 and
$biblionumber1 variables use to point to the same biblio one might
have thought $biblionumber1 points to $biblio1 which in this case is
not true. Let's just drop the extra variable because the object
notation of accessing is just as simple.

To test:
 1) prove t/db_dependent/Holds/DisallowHoldIfItemsAvailable.t => passes

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list