Bugzilla – Attachment 95369 Details for
Bug 24026
Wrong parameters in Koha/Templates/Plugin/CirculationRules.pm and smart-rules.tt
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24026: (bug 22847 follow-up) Remove c/p issues
Bug-24026-bug-22847-follow-up-Remove-cp-issues.patch (text/plain), 1.70 KB, created by
Nick Clemens (kidclamp)
on 2019-11-13 11:52:48 UTC
(
hide
)
Description:
Bug 24026: (bug 22847 follow-up) Remove c/p issues
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2019-11-13 11:52:48 UTC
Size:
1.70 KB
patch
obsolete
>From 1f503b3299714fad2453b92f64000b49971b4614 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 13 Nov 2019 12:35:39 +0100 >Subject: [PATCH] Bug 24026: (bug 22847 follow-up) Remove c/p issues > >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> >--- > Koha/Template/Plugin/CirculationRules.pm | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > >diff --git a/Koha/Template/Plugin/CirculationRules.pm b/Koha/Template/Plugin/CirculationRules.pm >index 04587d4d51..e82dce01ed 100644 >--- a/Koha/Template/Plugin/CirculationRules.pm >+++ b/Koha/Template/Plugin/CirculationRules.pm >@@ -27,8 +27,8 @@ sub Get { > my ( $self, $branchcode, $categorycode, $itemtype, $rule_name ) = @_; > > $branchcode = undef if $branchcode eq q{} or $branchcode eq q{*}; >- $categorycode = undef if $categorycode eq q{} or $branchcode eq q{*}; >- $itemtype = undef if $itemtype eq q{} or $branchcode eq q{*}; >+ $categorycode = undef if $categorycode eq q{} or $categorycode eq q{*}; >+ $itemtype = undef if $itemtype eq q{} or $itemtype eq q{*}; > > my $rule = Koha::CirculationRules->get_effective_rule( > { >@@ -46,8 +46,8 @@ sub Search { > my ( $self, $branchcode, $categorycode, $itemtype, $rule_name ) = @_; > > $branchcode = undef if $branchcode eq q{} or $branchcode eq q{*}; >- $categorycode = undef if $categorycode eq q{} or $branchcode eq q{*}; >- $itemtype = undef if $itemtype eq q{} or $branchcode eq q{*}; >+ $categorycode = undef if $categorycode eq q{} or $categorycode eq q{*}; >+ $itemtype = undef if $itemtype eq q{} or $itemtype eq q{*}; > > my $rule = Koha::CirculationRules->search( > { >-- >2.11.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 24026
:
95365
|
95366
|
95369
|
95370
|
95373
|
95386
|
95387