From c9535a606a342350db4666515915e6a57a3661d2 Mon Sep 17 00:00:00 2001
From: Owen Leonard
Date: Tue, 7 Aug 2012 15:09:35 -0400
Subject: [PATCH] Bug 8588 - Duplicate field IDs cause problems with SQL report
parameter entry
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
Signed-off-by: Paul Poulain
---
.../en/modules/reports/guided_reports_start.tt | 16 +++++++++++-----
reports/guided_reports.pl | 8 ++++++--
2 files changed, 17 insertions(+), 7 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 a1528228f0..21d8235d5c 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
@@ -504,16 +504,22 @@ canned reports and writing custom SQL reports.