Bugzilla – Attachment 181099 Details for
Bug 37050
Add select2 to SQL report multi select
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 37050: (follow-up) fix invalid tt html syntax
Bug-37050-follow-up-fix-invalid-tt-html-syntax.patch (text/plain), 3.67 KB, created by
Brendan Lawlor
on 2025-04-17 13:53:03 UTC
(
hide
)
Description:
Bug 37050: (follow-up) fix invalid tt html syntax
Filename:
MIME Type:
Creator:
Brendan Lawlor
Created:
2025-04-17 13:53:03 UTC
Size:
3.67 KB
patch
obsolete
>From 8068feb2133fa63226f955a8b67e7a82d035940e Mon Sep 17 00:00:00 2001 >From: Brendan Lawlor <blawlor@clamsnet.org> >Date: Thu, 17 Apr 2025 13:46:11 +0000 >Subject: [PATCH] Bug 37050: (follow-up) fix invalid tt html syntax > >--- > .../modules/reports/guided_reports_start.tt | 22 +++++++++++-------- > 1 file changed, 13 insertions(+), 9 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt >index 52cea2b710..196e09564a 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt >@@ -908,18 +908,22 @@ > <li> > <label for="sql_params_[% sql_param.labelid | html %]">[% sql_param.entry | html %]:</label> > [% IF (sql_param.select_multiple) %] >- <select name="[%- sql_param.input.name | html -%]" tabindex="1" id="[%- sql_param.input.id | html -%]" multiple> >+ <select name="[%- sql_param.input.name | html -%]" tabindex="1" id="[%- sql_param.input.id | html -%]" multiple> > <option value="[% sql_param.input.values.join("\n") | html %]" disabled="disabled"></option> >+ [% FOREACH value IN sql_param.input.values %] >+ <option value="[%- value | html -%]">[%- sql_param.input.labels.$value | html -%]</option> >+ [% END %] >+ </select> > [% ELSE %] >- <select name="[%- sql_param.input.name | html -%]" tabindex="1" id="[%- sql_param.input.id | html -%]"> >+ <select name="[%- sql_param.input.name | html -%]" tabindex="1" id="[%- sql_param.input.id | html -%]"> >+ [% IF (sql_param.include_all) %] >+ <option value="%">All</option> >+ [% END %] >+ [% FOREACH value IN sql_param.input.values %] >+ <option value="[%- value | html -%]">[%- sql_param.input.labels.$value | html -%]</option> >+ [% END %] >+ </select> > [% END %] >- [% IF (sql_param.include_all) %] >- <option value="%">All</option> >- [% END %] >- [% FOREACH value IN sql_param.input.values %] >- <option value="[%- value | html -%]">[%- sql_param.input.labels.$value | html -%]</option> >- [% END %] >- </select> > </li> > [% END # /IF sql_param.input == 'date' %] > [% END # /FOREACH sql_param %] >-- >2.39.5
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 37050
:
167555
|
167659
|
167838
|
167839
|
167840
|
167841
|
169750
|
169751
|
169818
|
169819
|
171340
|
171341
|
171342
|
171957
|
171958
|
171959
|
177320
|
179669
|
179728
|
180618
|
181099
|
181100