Bugzilla – Attachment 127226 Details for
Bug 29380
Auto renewing, batch due date extension tool and checkout note previews are broken
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 29380: (follow-up) Fix renewal feature in staff interface
Bug-29380-follow-up-Fix-renewal-feature-in-staff-i.patch (text/plain), 1.20 KB, created by
Joonas Kylmälä
on 2021-11-02 20:29:24 UTC
(
hide
)
Description:
Bug 29380: (follow-up) Fix renewal feature in staff interface
Filename:
MIME Type:
Creator:
Joonas Kylmälä
Created:
2021-11-02 20:29:24 UTC
Size:
1.20 KB
patch
obsolete
>From 6eaf525f6a407c051054ff53cc5b0b3783486c59 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Joonas=20Kylm=C3=A4l=C3=A4?= <joonas.kylmala@iki.fi> >Date: Tue, 2 Nov 2021 20:24:01 +0000 >Subject: [PATCH] Bug 29380: (follow-up) Fix renewal feature in staff interface >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >The commit "Bug 29290: Rename relationships borrower => >patron" (d46492ac23) renamed the relation for the borrowers table from >'borrower' to 'patron' but the usage in the renew.pl script was not >updated. > >To test: > 1) Try to renew a book in intranet through the renewal tab > 2) Notice it gives error > 3) Apply patch > 4) Notice the error is now gone > >Signed-off-by: Joonas Kylmälä <joonas.kylmala@iki.fi> >--- > circ/renew.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/circ/renew.pl b/circ/renew.pl >index 4a0db8a114..97b6317067 100755 >--- a/circ/renew.pl >+++ b/circ/renew.pl >@@ -63,7 +63,7 @@ if ($barcode) { > > if ($issue) { > >- $borrower = $issue->borrower(); >+ $borrower = $issue->patron(); > > if ( ( $borrower->debarred() || q{} ) lt dt_from_string()->ymd() ) { > my $can_renew; >-- >2.20.1
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 29380
:
127109
|
127126
|
127143
| 127226