[Koha-bugs] [Bug 7016] CanBookBeReserved uses GetItemsInfo unnecessarily

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Apr 11 22:16:20 CEST 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7016

--- Comment #10 from Galen Charlton <gmcharlt at gmail.com> ---
Created attachment 9127
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=9127&action=edit
Bug 7016 Followup: Add new GetItemnumberForBiblio subroutine

Adds a new subroutine in C4::Items, GetItemnumbersForBiblio, which takes a
single biblionumber, and returns an array of all the corresponding itemnumbers.

This patch also replaces the usage of get_itemnumbers_of in
C4::Reserves::CanBookBeReserved
with this new subroutine, as the output is more consistent with what we were
lookng for (this is what fixes the bug issue).

Signed-off-by: Galen Charlton <gmc at esilibrary.com>

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list