[Koha-bugs] [Bug 14046] CheckIfIssuedToPatron fails if biblionumber != biblioitemnumber
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Apr 22 16:19:56 CEST 2015
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14046
Tomás Cohen Arazi <tomascohen at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #38341|0 |1
is obsolete| |
--- Comment #2 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 38342
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=38342&action=edit
[SIGNED OFF] Bug 14046: Make the CheckIfIssuedToPatron using the biblionumber
C4::Circ::CheckIfIssuedToPatron called
$items = GetItemsByBiblioitemnumber($biblionumber);
But if biblionumber != biblioitemnumber, the items retrieved were not
the good ones!
Test plan:
Make your Auto increment values for biblio and biblioitems differs
Launch the tests:
prove t/db_dependent/Circulation/CheckIfIssuedToPatron.t
Before this patch, they did not pass.
Signed-off-by: Tomas Cohen Arazi <tomascohen at gmail.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list