From 57d6b530ad2b57e4d3009dad0174f5fc2d41265f Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 20 Mar 2013 15:50:05 -0400 Subject: [PATCH] Bug 9879 - Use DataTables on suggestions management page Replace the tablesorter plugin with the DataTables plugin on the suggestions management page. Table sorting has been coverted from using multiple specific IDs to a more efficient class-based selector. Unrelated change: Prevent page-jumping when checkbox links are clicked. To test, open the suggestions management page (Acquisitions -> Suggestions). Confirm that table sorting, paging, and searching works correctly. Signed-off-by: Frederic Durand Signed-off-by: Jonathan Druart Signed-off-by: Jared Camins-Esakov --- .../prog/en/modules/suggestion/suggestion.tt | 50 ++++++++++--------- 1 file changed, 26 insertions(+), 24 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt index 5165f8399e..fcb8eca79e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt @@ -16,16 +16,14 @@ [% INCLUDE 'doc-head-close.inc' %] [% INCLUDE 'calendar.inc' %] -[% IF ( op_else ) %] +[% IF ( op_else ) %] + + +[% INCLUDE 'datatables-strings.inc' %] +