]> git.koha-community.org Git - koha.git/commit
Bug 7016 Followup: Add new GetItemnumberForBiblio subroutine
authorIan Walls <ian.walls@bywatersolutions.com>
Fri, 6 Jan 2012 14:53:49 +0000 (09:53 -0500)
committerPaul Poulain <paul.poulain@biblibre.com>
Wed, 18 Apr 2012 14:48:25 +0000 (16:48 +0200)
commitf84671dce925ef0f5127073520d35b480613e3c1
tree3d8ea5f494a0a189eeefbd3f3defca357aa23dd1
parent823b807ac9e20706bdd3931962e126affc72cbeb
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@esilibrary.com>
C4/Items.pm
C4/Reserves.pm