Bugzilla – Attachment 99300 Details for
Bug 24670
Circulation and fine rules page has performance issues since issuingrules change
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24670: (QA follow-up) Add missing $rules definition
Bug-24670-QA-follow-up-Add-missing-rules-definitio.patch (text/plain), 1.02 KB, created by
Jonathan Druart
on 2020-02-20 07:56:28 UTC
(
hide
)
Description:
Bug 24670: (QA follow-up) Add missing $rules definition
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2020-02-20 07:56:28 UTC
Size:
1.02 KB
patch
obsolete
>From e18f5a4649c4a5146a2b20bd9caf246f0358dd76 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Wed, 19 Feb 2020 21:30:22 +0000 >Subject: [PATCH] Bug 24670: (QA follow-up) Add missing $rules definition > >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> > >Signed-off-by: Lisette Scheer <lisettes@latahlibrary.org> > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > admin/smart-rules.pl | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/admin/smart-rules.pl b/admin/smart-rules.pl >index 45c566eba1..236ca8f062 100755 >--- a/admin/smart-rules.pl >+++ b/admin/smart-rules.pl >@@ -565,6 +565,7 @@ my $humanbranch = ( $branch ne '*' ? $branch : undef ); > my $all_rules = Koha::CirculationRules->search({ branchcode => $humanbranch }); > my $definedbranch = $all_rules->count ? 1 : 0; > >+my $rules = {}; > while ( my $r = $all_rules->next ) { > $r = $r->unblessed; > $rules->{ $r->{categorycode} }->{ $r->{itemtype} }->{ $r->{rule_name} } = $r->{rule_value}; >-- >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 24670
:
99082
|
99278
|
99280
|
99281
|
99282
|
99286
| 99300