]> git.koha-community.org Git - koha.git/commit
Bug 16284: Check only item for previous checkout if biblio is serial
authorJosef Moravec <josef.moravec@gmail.com>
Thu, 22 Jun 2017 09:26:53 +0000 (11:26 +0200)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 13 Aug 2019 13:35:35 +0000 (14:35 +0100)
commitbfe89a6aaebde8c42e2f352beaee503f315c1785
tree9ef22cdb3b5ecf7bb87ac0aa545fe33368c547ad
parente66ccaa3a7743378f906612562889a9476bf6802
Bug 16284: Check only item for previous checkout if biblio is serial

Test plan:
1) Set 'CheckPrevCheckout' system preference to 'Do'
2) Make a checkout with item from serial record (942$s is 1 on default
    settings)
3) Return that checkout
4) Try to check it out again, you should see an alert, that the patron
has thi item checked out previously
5) Try to checkout another item from same bibliographic record, you
sholud not see the alert and item should be checked out
6) prove t/db_dependent/Patron/Borrower_PrevCheckout.t

Signed-off-by: Michal Denar <black23@gmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Koha/Patron.pm