Bugzilla – Attachment 127658 Details for
Bug 29474
Automatic renewals cronjob is slow on systems with large numbers of reserves
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 29474: Small efficiency improvement
Bug-29474-Small-efficiency-improvement.patch (text/plain), 1.06 KB, created by
Kyle M Hall
on 2021-11-15 15:53:09 UTC
(
hide
)
Description:
Bug 29474: Small efficiency improvement
Filename:
MIME Type:
Creator:
Kyle M Hall
Created:
2021-11-15 15:53:09 UTC
Size:
1.06 KB
patch
obsolete
>From 3563adfa8d87dab10b36fcbbd1198e2ab500d52c Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Mon, 15 Nov 2021 10:52:50 -0500 >Subject: [PATCH] Bug 29474: Small efficiency improvement > >--- > C4/Circulation.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/C4/Circulation.pm b/C4/Circulation.pm >index 0791c7f7c2..12e2905069 100644 >--- a/C4/Circulation.pm >+++ b/C4/Circulation.pm >@@ -2771,7 +2771,6 @@ sub CanBookBeRenewed { > ] > } > ); >- $soonest_renew_date = GetSoonestRenewDate($borrowernumber, $itemnumber, $branchcode, $issuing_rule); > > return ( 0, "too_many" ) > if not $issuing_rule->{renewalsallowed} or $issuing_rule->{renewalsallowed} <= $issue->renewals; >@@ -2793,6 +2792,7 @@ sub CanBookBeRenewed { > return ( 0, 'overdue'); > } > >+ $soonest_renew_date = GetSoonestRenewDate($borrowernumber, $itemnumber, $branchcode, $issuing_rule); > > $auto_renew = _CanBookBeAutoRenewed({ > patron => $patron, >-- >2.30.1 (Apple Git-130)
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 29474
:
127610
|
127611
|
127612
|
127613
|
127614
|
127615
|
127616
|
127617
|
127632
|
127633
|
127634
|
127635
|
127658
|
127903
|
127904
|
127905
|
127906
|
127907
|
127949
|
127950
|
127951
|
127952
|
127953
|
128554
|
128555
|
128556