Bugzilla – Attachment 162389 Details for
Bug 36158
Text on the "Show SQL code" button at guided_reports.pl breaks if report notice templates exist
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36158: Update t iterator variable
Bug-36158-Update-t-iterator-variable.patch (text/plain), 1.72 KB, created by
Pedro Amorim
on 2024-02-23 16:15:16 UTC
(
hide
)
Description:
Bug 36158: Update t iterator variable
Filename:
MIME Type:
Creator:
Pedro Amorim
Created:
2024-02-23 16:15:16 UTC
Size:
1.72 KB
patch
obsolete
>From 7fe9c2f16d8f9fcace9ed54c809c707726b5ee98 Mon Sep 17 00:00:00 2001 >From: Pedro Amorim <pedro.amorim@ptfs-europe.com> >Date: Fri, 23 Feb 2024 15:15:08 -0100 >Subject: [PATCH] Bug 36158: Update t iterator variable > >It seems like its causing some sort of conflict with t('Hide SQL code') further down below in the code, but I'm not sure why. >--- > .../intranet-tmpl/prog/en/includes/reports-toolbar.inc | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/reports-toolbar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/reports-toolbar.inc >index 41af881afba..e85587f5ecc 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/reports-toolbar.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/reports-toolbar.inc >@@ -69,10 +69,10 @@ > <i class="fa fa-code"></i> Run with template <span class="caret"></span> > </button> > <ul class="dropdown-menu"> >- [% FOREACH t IN templates %] >+ [% FOREACH tmpl IN templates %] > <li> >- <a id="runreport" class="btn btn-default" href="/cgi-bin/koha/reports/guided_reports.pl?reports=[% id | html %]&phase=Run%20this%20report&template=[% t.id | html %][% PROCESS params %]"> >- [% t.name | html %] >+ <a id="runreport" class="btn btn-default" href="/cgi-bin/koha/reports/guided_reports.pl?reports=[% id | html %]&phase=Run%20this%20report&template=[% tmpl.id | html %][% PROCESS params %]"> >+ [% tmpl.name | html %] > </a> > </li> > [% END %] >-- >2.30.2
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 36158
:
162386
|
162389
|
162393
|
162581