Bugzilla – Attachment 52876 Details for
Bug 14048
Change RefundLostItemFeeOnReturn to be branch specific
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14048: (QA folloup) C4::Context->preference should be used
Bug-14048-QA-folloup-C4Context-preference-should-b.patch (text/plain), 1001 bytes, created by
Tomás Cohen Arazi (tcohen)
on 2016-06-25 15:37:37 UTC
(
hide
)
Description:
Bug 14048: (QA folloup) C4::Context->preference should be used
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2016-06-25 15:37:37 UTC
Size:
1001 bytes
patch
obsolete
>From 2ae1367174ac94116d6ef82f15c4531faf453db6 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Sat, 25 Jun 2016 12:37:15 -0300 >Subject: [PATCH] Bug 14048: (QA folloup) C4::Context->preference should be > used > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > Koha/RefundLostItemFeeRules.pm | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > >diff --git a/Koha/RefundLostItemFeeRules.pm b/Koha/RefundLostItemFeeRules.pm >index 79a334e..3e37f43 100644 >--- a/Koha/RefundLostItemFeeRules.pm >+++ b/Koha/RefundLostItemFeeRules.pm >@@ -106,9 +106,7 @@ sub _choose_branch { > my $self = shift; > my $param = shift; > >- my $behaviour = Koha::Config::SysPrefs >- ->find( 'RefundLostOnReturnControl' ) >- ->value // 'CheckinLibrary'; >+ my $behaviour = C4::Context->preference( 'RefundLostOnReturnControl' ) // 'CheckinLibrary'; > > my $param_mapping = { > CheckinLibrary => 'current_branch', >-- >2.9.0
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 14048
:
52016
|
52017
|
52018
|
52019
|
52020
|
52169
|
52170
|
52202
|
52203
|
52286
|
52287
|
52288
|
52289
|
52290
|
52291
|
52292
|
52293
|
52306
|
52444
|
52445
|
52446
|
52447
|
52448
|
52449
|
52450
|
52451
|
52482
|
52658
|
52659
|
52660
|
52661
|
52662
|
52663
|
52664
|
52665
|
52666
|
52667
|
52668
|
52748
|
52749
|
52750
|
52751
|
52752
|
52753
|
52754
|
52755
|
52756
|
52757
|
52835
|
52836
|
52837
|
52838
|
52839
|
52840
|
52841
|
52842
|
52843
|
52844
|
52876
|
52883
|
52894
|
53017
|
53018
|
53019
|
53020
|
53021
|
53022
|
53023
|
53024
|
53025
|
53026
|
53027
|
53028
|
53029