From 4152fddc91c8c23ad8750a8bbcc47b55f82a6544 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 24 Mar 2015 16:12:32 +0100 Subject: [PATCH] Bug 4281: Reports dictionary supports only 1 field selection The reports dictionary allows the user to select several fields, but only 1 is used. The interface is quite confusing. This patch removes the multiple selection and permit to select only 1 field. Test plan: 1/ Create a report dictionary (reports/dictionary.pl) 2/ On the step 3, confirm that only 1 field can be selected Confirm there is no regression on this tool. --- .../prog/en/modules/reports/dictionary.tt | 43 ++-------------------- 1 file changed, 4 insertions(+), 39 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/dictionary.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/dictionary.tt index 7ca9c82..1339f01 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/dictionary.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/dictionary.tt @@ -21,7 +21,7 @@ @@ -136,13 +136,12 @@

Add new definition

-Step 3 of 5: Choose columns +Step 3 of 5: Choose a column - - - - - -
[% FOREACH column IN columns %] [% IF ( column.table ) %] [% IF ( loop.first ) %] @@ -161,11 +160,7 @@ [% END %] [% END %] -
+
@@ -282,34 +277,4 @@ [% INCLUDE 'guided-reports-view.inc' %] - - [% INCLUDE 'intranet-bottom.inc' %] -- 2.1.0