From 8cee0dffa724a8ee12097651a0664ef5c79b3988 Mon Sep 17 00:00:00 2001 From: Adrien Saurat Date: Fri, 4 Jan 2013 17:07:40 +0100 Subject: [PATCH] [SIGNED-OFF] Bug 9182: fix on sortable columns on Saved reports Content-Type: text/plain; charset="utf-8" When displaying the Saved reports, since 3.10 the number of columns is higher but the datasorter parameters have not been changed accordingly. It's thus impossible to sort on the author or the creation date, for example. TEST PLAN : 1) Check sortable columns before applying : some useful columns are not sortable, while the last columns are sortable (but don't need to be). 2) Once the patch is applied, the "non sortable" columns are the correct ones. Signed-off-by: Owen Leonard --- .../en/modules/reports/guided_reports_start.tt | 9 ++++----- 1 file changed, 4 insertions(+), 5 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 fa0ae38..c055b2b 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 @@ -65,11 +65,10 @@ $(document).ready(function(){ widgets : ['zebra'], sortList: [[1,0]], headers: { - 6: { sorter: false}, - 7: { sorter: false}, - 8: { sorter: false}, - 9: { sorter: false}, - 10: { sorter: false} + 10: { sorter: false}, + 11: { sorter: false}, + 12: { sorter: false}, + 13: { sorter: false} } }).tablesorterPager({ container: $("#pagertable_reports"), -- 1.7.9.5