From 3e720331382fdd15c6f78b19753b16b5b01ce820 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 20 Mar 2013 15:50:05 -0400 Subject: [PATCH 1/1] 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 --- .../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 5165f83..fcb8eca 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' %] +