Bugzilla – Attachment 123610 Details for
Bug 25711
Move ExpireReservesMaxPickUpDelayCharge to the circulation rules
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 25711: add comment to clarify how the method works
Bug-25711-add-comment-to-clarify-how-the-method-wo.patch (text/plain), 885 bytes, created by
Peter Vashchuk
on 2021-08-09 08:01:03 UTC
(
hide
)
Description:
Bug 25711: add comment to clarify how the method works
Filename:
MIME Type:
Creator:
Peter Vashchuk
Created:
2021-08-09 08:01:03 UTC
Size:
885 bytes
patch
obsolete
>From abf92014b7bf486cce62ae7afc59ebc014828176 Mon Sep 17 00:00:00 2001 >From: Petro Vashchuk <stalkernoid@gmail.com> >Date: Fri, 6 Aug 2021 14:37:07 +0300 >Subject: [PATCH] Bug 25711: add comment to clarify how the method works > >--- > Koha/CirculationRules.pm | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/Koha/CirculationRules.pm b/Koha/CirculationRules.pm >index fd9ec35329..a05c97691f 100644 >--- a/Koha/CirculationRules.pm >+++ b/Koha/CirculationRules.pm >@@ -602,6 +602,8 @@ sub get_effective_expire_reserves_charge { > } > ); > >+ # return the rule value (incl. 0) if rule found so there's an object in the variable, >+ # or return default value from sysprefs when rule wasn't found and there's undef > return $expire_reserves_charge_rule ? $expire_reserves_charge_rule->rule_value : C4::Context->preference("ExpireReservesMaxPickUpDelayCharge"); > > } >-- >2.31.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 25711
:
107144
|
107407
|
107683
|
107844
|
108689
|
119851
|
119911
|
119912
|
120164
|
123309
|
123310
|
123326
|
123327
|
123328
|
123452
|
123456
|
123498
|
123568
|
123610
|
123653
|
123661
|
135060
|
135061
|
135062
|
135063
|
135064
|
135065
|
135156
|
135157
|
135158
|
135159
|
135160
|
135161
|
135950
|
135951
|
135952
|
135953
|
135954
|
135955
|
136769
|
140377
|
140378
|
140379
|
140380
|
140381
|
140382
|
140383
|
141270
|
157632
|
157633
|
157634
|
157635
|
157636
|
157637
|
157638
|
157639
|
171054
|
171055
|
171056
|
171057
|
171058
|
171059
|
176243
|
176244
|
176245
|
176246
|
176247
|
176248
|
176408
|
176409
|
176410
|
176411
|
176412
|
176413
|
176414
|
176415
|
176416
|
176417
|
176418
|
176419
|
176420
|
176421