]> git.koha-community.org Git - koha.git/commit
Bug 14046: Make the CheckIfIssuedToPatron using the biblionumber
authorJonathan Druart <jonathan.druart@biblibre.com>
Wed, 22 Apr 2015 14:05:41 +0000 (16:05 +0200)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Wed, 22 Apr 2015 16:26:20 +0000 (13:26 -0300)
commit40e4722a957102a52ece9cd4f21ab6fd902f3c18
treeb3ca397df31c067fa357e9ecc0f7bc9602c4b451
parent5ee69d78dcda0a12833f4dae5b0043d91f3c31ba
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@gmail.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
C4/Circulation.pm