From 8932af7ff7f02632f8cd1a3b5094164968136679 Mon Sep 17 00:00:00 2001
From: Owen Leonard
Date: Wed, 21 Nov 2012 12:31:41 -0500
Subject: [PATCH] Bug 8588 [3.8.x] Duplicate field IDs cause problems with SQL
report parameter entry
Reimplemented for 3.8.x: Changes to markup and script to
enable unique ids on form fields. These changes allow for
working label+input pairs on one or more text and select
inputs and multiple working datepickers.
To test, create a report with more than one date parameter,
at least one text parameter, and one or more authorised
value parameters. The datepickers should each work properly,
and labels should by clickable.
Signed-off-by: Chris Cormack
---
.../modules/reports/guided_reports_start.tt | 22 ++++++++++++-------
reports/guided_reports.pl | 8 +++++--
2 files changed, 20 insertions(+), 10 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 bec16194c3..7343e13483 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
@@ -487,24 +487,30 @@ canned reports and writing custom SQL reports.