]> git.koha-community.org Git - koha.git/commit
Bug 19198: Renewal as issue causes too many error
authorNick Clemens <nick@bywatersolutions.com>
Tue, 29 Aug 2017 14:25:20 +0000 (14:25 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 6 Oct 2017 14:36:49 +0000 (11:36 -0300)
commitc204171ff3cf4dedc64ea953c968447bcf7d9f65
treeb2d182b7f20a752b5227b542c9bd669613697ed6
parent7d3eefd8f1cc474346f8804197ac5fb28776191e
Bug 19198: Renewal as issue causes too many error

This patch moves some code and prevents checking for too many checkouts
when performing a renewal via checkout

To test:
1 - Set a rule to limit checkouts to a single issue, allowing renewal
2 - Issue an item to a patron
3 - Issue the same item
4 - In staff client you get a confirm to renew and a notice of Too Many
checkouts, don't confirm
5 - VIA Sip - you get a renewal response, but in logs the renewal fails
as a 'too
6 - Apply patch
7 - Via staff client you shoudl get renewal confirm with no too many
error
8 - SIP checkout should renew

Signed-off-by: Lee Jamison <ldjamison@marywood.edu>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
C4/Circulation.pm