Bugzilla – Attachment 91848 Details for
Bug 23389
Add 'All' option to report value dropdowns
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23389: Add 'All' option to report dropdowns
Bug-23389-Add-All-option-to-report-dropdowns.patch (text/plain), 1.75 KB, created by
Nick Clemens (kidclamp)
on 2019-07-27 12:18:45 UTC
(
hide
)
Description:
Bug 23389: Add 'All' option to report dropdowns
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2019-07-27 12:18:45 UTC
Size:
1.75 KB
patch
obsolete
>From bd3d30eab8c8cec047cb4da74a2d00eb87e270e3 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Sat, 27 Jul 2019 12:15:41 +0000 >Subject: [PATCH] Bug 23389: Add 'All' option to report dropdowns > >This patch adds and 'all' option t rpeort dropdowns > >Note you will need to use 'LIKE' instead of '=' to allow 'All' to work > >To test: > 1 - Write a report: > SELECT branchname FROM branches WHERE branchcode LIKE <<Branch|branches>> > 2 - Run it > 3 - Select a branch > 4 - You get one branch info > 5 - Note you cannot select all > 6 - Apply patch > 7 - Run report > 8 - Select 'All' > 9 - You get all branches >10 - Select one branch >11 - You get one branch >--- > koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt | 1 + > 1 file changed, 1 insertion(+) > >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 45f3789c20..928f47c269 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 >@@ -701,6 +701,7 @@ canned reports and writing custom SQL reports.</p> > [% ELSE %] > <li><label for="sql_params_[% sql_param.labelid | html %]">[% sql_param.entry | html %]:</label> > <select name="[%- sql_param.input.name | html -%]" tabindex="1" size="1" id="[%- sql_param.input.id | html -%]"> >+ <option value="%">All</option> > [% FOREACH value IN sql_param.input.values %] > <option value="[%- value | html -%]">[%- sql_param.input.labels.$value | html -%]</option> > [% END %] >-- >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 23389
:
91848
|
91881
|
91887
|
93555