From 50be765eae0151ced343295e1e48f9a53b9bfa17 Mon Sep 17 00:00:00 2001
From: Owen Leonard
Date: Thu, 6 Sep 2012 15:21:03 -0400
Subject: [PATCH] Bug 8711 - alternating colors messed up on reports
Patch adds the "zebra-striping" option to the
table sorter initialization and changes the row
color CSS to match the tablesorter's to prevent
conflicts.
Signed-off-by: Chris Cormack
Signed-off-by: Paul Poulain
---
.../prog/en/modules/reports/guided_reports_start.tt | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
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 aa6a6271be..fa0ae380b7 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
@@ -62,6 +62,7 @@ $(document).ready(function(){
[% END %]
// call the tablesorter plugin
$("#table_reports").tablesorter({
+ widgets : ['zebra'],
sortList: [[1,0]],
headers: {
6: { sorter: false},
@@ -173,7 +174,7 @@ canned reports and writing custom SQL reports.
[% FOREACH savedreport IN savedreports %]
-[% UNLESS ( loop.odd ) %][% ELSE %]
[% END %]
+[% UNLESS ( loop.odd ) %]
[% ELSE %]
[% END %]
[% savedreport.id %] |
[% savedreport.report_name %] |
[% savedreport.type %] |
--
2.39.5