From 3215fd4001ef35a44283e14b813d6c612e901dff Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Sat, 19 Jan 2013 19:00:34 -0500 Subject: [PATCH] Bug 9435 [Revised] Use DataTables on libraries and groups administration page Replace the tablesorter plugin with the DataTables plugin on the libraries and groups administration page. To test, open the libraries and groups administration page (Administration -> Libraries and groups). Confirm that table sorting works correctly. Revision corrects template path to datatables assets. Signed-off-by: Bernardo Gonzalez Kriegel Comment: Sort works. No errors. Signed-off-by: Jonathan Druart Amended patch: Add the aLengthMenu key for DataTables + delete an unused div block (used for pager) --- .../prog/en/modules/admin/branches.tt | 24 +++++++++++++++----- 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt index 7cd4b65..4404e28 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt @@ -11,10 +11,23 @@ [% END %] [% INCLUDE 'doc-head-close.inc' %] - - + + +[% INCLUDE 'datatables-strings.inc' %] + @@ -165,9 +179,6 @@ tinyMCE.init({ [% IF ( MESSAGE10 ) %]
Library cannot be deleted because there are items held by that library
[% END %] [% IF ( MESSAGE11 ) %]
Library cannot be deleted because there are patrons registered at that library
[% END %] [% IF ( branches ) %] -
-[% INCLUDE 'table-pager.inc' perpage='10' %] -
@@ -176,7 +187,8 @@ tinyMCE.init({ - + + [% FOREACH branche IN branches %] [% IF ( loop.odd ) %] -- 1.7.10.4
NameProperties IP