]> git.koha-community.org Git - koha.git/commit
Bug 25808: Renewal via the SIP 'checkout' message gives incorrect message
authorKyle M Hall <kyle@bywatersolutions.com>
Thu, 18 Jun 2020 17:23:04 +0000 (13:23 -0400)
committerAndrew Fuerste-Henry <andrew@bywatersolutions.com>
Mon, 1 Feb 2021 21:50:50 +0000 (21:50 +0000)
commit2084a3e9c499a8f074bbb6d2a47ade163648abd7
tree30c03e11b43ab5512c3ea65aa71ba88bc863ca8d
parentf7a2fe0e60f24a165b019687ace546f5cebc5267
Bug 25808: Renewal via the SIP 'checkout' message gives incorrect message

If a renewal via SIP cannot be made because the patron has reached the maximum number of renewals,
the AF screen message should read "Item has reached maximum renewals!",
instead we get "Item checked out to another patron".

Test Plan:
1) Check out an item to a patron
2) Using the SIP CLI tool, run checkout messages until the checkout has
   reached the maximum number of renewals
3) Note the incorrect message in the AF field
4) Apply this patch
5) Restart the SIP server
6) Run another SIP checkout message
7) Note the message is now correct!

Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 6cdfa37e63901c713f817fb44c279367a0c21ab0)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit 606a3a2e21fe230d163b2d5d3458ec5351d7f9a9)

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
C4/SIP/ILS.pm