Bugzilla – Attachment 99286 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), 969 bytes, created by
Lisette Scheer
on 2020-02-19 22:15:57 UTC
(
hide
)
Description:
Bug 24670: (QA follow-up) Add missing $rules definition
Filename:
MIME Type:
Creator:
Lisette Scheer
Created:
2020-02-19 22:15:57 UTC
Size:
969 bytes
patch
obsolete
>From 256af273f06e9839b6d7c372a9f7236fe573601f 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> >--- > admin/smart-rules.pl | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/admin/smart-rules.pl b/admin/smart-rules.pl >index 069d9bed45..155be9a184 100755 >--- a/admin/smart-rules.pl >+++ b/admin/smart-rules.pl >@@ -579,6 +579,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