From a36f2accb1034ae4f71c6efdaf7e45f7b028352b Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 23 Jan 2013 14:09:13 -0500 Subject: [PATCH] Bug 9466 [Revised] Use DataTables on saved reports page Replace the tablesorter plugin with the DataTables plugin on the saved reports page. To test, open the saved reports page (Reports > Use saved). Confirm that table sorting works correctly. Revision makes default result count (20) match options for number of pagination entries (10,20,50,100,all). Further revision corrects template path to datatables assets. Further revision fixes JavaScript error as reported by QA Signed-off-by: Nicole C. Engard Signed-off-by: Jonathan Druart Signed-off-by: Jared Camins-Esakov --- .../modules/reports/guided_reports_start.tt | 40 +++++++++---------- 1 file changed, 19 insertions(+), 21 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 7f109d9526..e1f4593e7d 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 @@ -19,11 +19,18 @@ - - +[% IF ( saved1 ) %] + + +[% INCLUDE 'datatables-strings.inc' %] + +[% END %]