Bugzilla – Attachment 163203 Details for
Bug 35944
Bookings is not taken into account in CanBookBeRenewed
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35944: Add message to SIP renewal attempt
Bug-35944-Add-message-to-SIP-renewal-attempt.patch (text/plain), 1.09 KB, created by
Nick Clemens (kidclamp)
on 2024-03-15 11:40:29 UTC
(
hide
)
Description:
Bug 35944: Add message to SIP renewal attempt
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2024-03-15 11:40:29 UTC
Size:
1.09 KB
patch
obsolete
>From 7ba63a25e2fd4ec198bc9682e63c94c82a69598e Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Mon, 26 Feb 2024 08:15:50 +0000 >Subject: [PATCH] Bug 35944: Add message to SIP renewal attempt > >This patch adds a replacement for 'booked' to the SIP renewal handling >so we can display 'Item is booked for another borrower'. >--- > C4/SIP/ILS/Transaction/Renew.pm | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/C4/SIP/ILS/Transaction/Renew.pm b/C4/SIP/ILS/Transaction/Renew.pm >index 75ce5b569af..2f6dc61b31a 100644 >--- a/C4/SIP/ILS/Transaction/Renew.pm >+++ b/C4/SIP/ILS/Transaction/Renew.pm >@@ -52,6 +52,7 @@ sub do_renew_for { > $self->renewal_ok(1); > } else { > $renewerror=~s/on_reserve/Item unavailable due to outstanding holds/; >+ $renewerror=~s/booked/Item is booked for another borrower/; > $renewerror=~s/too_many/Item has reached maximum renewals/; > $renewerror=~s/too_unseen/Item has reached maximum consecutive renewals without being seen/; > $renewerror=~s/item_denied_renewal/Item renewal is not allowed/; >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 35944
:
162407
|
162408
|
162417
|
162418
|
162423
|
162424
|
163201
|
163202
|
163203
|
163204
|
163205
|
163206
|
163208
|
163209
|
163210
|
163211
|
163212
|
163213