From 09af6d03f5a2922eea4f50ebbe266924bee5b77d Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 20 Mar 2013 15:16:59 -0400 Subject: [PATCH 1/2] Bug 9877 - Use DataTables on funds administration page Replace the tablesorter plugin with the DataTables plugin on the funds administration page. To test, open the funds administration page (Administration -> Funds). Confirm that table sorting, paging, and searching works correctly. Note that the table is sorted only when hierarchical display of parent and child funds is not enabled. When the hierarchicial display is enabled the table sorter is not triggered. Signed-off-by: Pierre Angot Post-QA revision adds handling for empty table: "No funds" row must have same number of cells as the rest of the table (including hidden cell); Signed-off-by: Jonathan Druart Signed-off-by: Jared Camins-Esakov --- .../prog/en/modules/admin/aqbudgets.tt | 27 ++++++++++++------- 1 file changed, 18 insertions(+), 9 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt index af0f0868c0..6bd36061a4 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt @@ -136,10 +136,16 @@ //]]> [% ELSE %] - + [% IF ( notree ) %] + + + [% INCLUDE 'datatables-strings.inc' %] + + [% ELSE %] + + + [% END %] - -