Bugzilla – Attachment 92966 Details for
Bug 23586
Issuing rules failing in 19.05
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23586: Correct call to CalcDateDue
Bug-23586-Correct-call-to-CalcDateDue.patch (text/plain), 1.03 KB, created by
Martin Renvoize (ashimema)
on 2019-09-19 13:43:09 UTC
(
hide
)
Description:
Bug 23586: Correct call to CalcDateDue
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2019-09-19 13:43:09 UTC
Size:
1.03 KB
patch
obsolete
>From 6c2fb6e7c25624ebd2757d6e5ab6c7b312c177e6 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Thu, 19 Sep 2019 14:39:44 +0100 >Subject: [PATCH] Bug 23586: Correct call to CalcDateDue > >This patch corrects the call to CalcDateDue in >C4::Circulation::CanBookBeIssued correcting a regression caused by >bug 20912. >--- > C4/Circulation.pm | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > >diff --git a/C4/Circulation.pm b/C4/Circulation.pm >index e346e2dfd6..fd0568ca43 100644 >--- a/C4/Circulation.pm >+++ b/C4/Circulation.pm >@@ -706,8 +706,7 @@ sub CanBookBeIssued { > unless ( $duedate ) { > my $issuedate = $now->clone(); > >- my $branch = $circ_library; >- $duedate = CalcDateDue( $issuedate, $effective_itemtype, $branch, $patron_unblessed ); >+ $duedate = CalcDateDue( $issuedate, $effective_itemtype, $circ_library->branchcode, $patron_unblessed ); > > # Offline circ calls AddIssue directly, doesn't run through here > # So issuingimpossible should be ok. >-- >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 23586
: 92966 |
92967