From affdc494888c28981b492bcd613c62169d71ede0 Mon Sep 17 00:00:00 2001 From: Adrien Saurat Date: Fri, 4 Jan 2013 17:07:40 +0100 Subject: [PATCH] Bug 9182: fix on sortable columns on Saved reports 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 Signed-off-by: Katrin Fischer Colums for saved reports are all sortable correctly now. All tests and qa script pass. Signed-off-by: Jared Camins-Esakov Signed-off-by: Chris Cormack --- .../prog/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 fa0ae380b7..c055b2b619 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"), -- 2.39.5