From 3ee0027d9f54537b97307a99567ba9ed78b4362a Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 20 Mar 2013 15:16:59 -0400 Subject: [PATCH] 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 --- .../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 af0f086..6bd3606 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 %] - -