From 49c68829c2ceb203ebd3a899b39c6e6e626a532d Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 20 Mar 2013 15:16:59 -0400 Subject: [PATCH] [SIGNED-OFF] Bug 9877 - Use DataTables on funds administration page Content-Type: text/plain; charset="utf-8" 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); --- .../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 %] - -