]> 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)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Thu, 21 Jun 2012 14:07:25 +0000 (10:07 -0400)
commit3ba6bf9a5e841caca487e245778ae4e995c12265
treeaa662fba732869add2e530f105c6a0891a79bd2b
parent11b9d7e55dd8fda6047be6ef85fc1b49900c7fa7
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>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
C4/Items.pm
C4/Reserves.pm