From d41d871999f4e40728a7b6ec734faeaff0a4fb96 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Sat, 19 Jan 2013 20:13:33 -0500 Subject: [PATCH] Bug 9437 [Revised] Use DataTables on itemtypes administration page Replace the tablesorter plugin with the DataTables plugin on the itemtypes administration page. To test, open the itemtypes administration page (Administration -> Item types). Confirm that table sorting works correctly. Revision corrects template path to datatables assets. Signed-off-by: Bernardo Gonzalez Kriegel Comment: Sorting works. No errors. Signed-off-by: Jonathan Druart Amended patch: Delete an unused div block (used for pager). Signed-off-by: Jared Camins-Esakov --- .../prog/en/modules/admin/itemtypes.tt | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt index 7b6000c474..f21a998fed 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt @@ -18,16 +18,10 @@ Data deleted [% END %] [% INCLUDE 'doc-head-close.inc' %] - - - + + +[% INCLUDE 'datatables-strings.inc' %] + @@ -272,9 +274,7 @@ Item types administration [% IF ( else ) %]

Item types administration

-[% IF ( loop ) %]
-[% INCLUDE 'table-pager.inc' perpage='10' %] -
+[% IF ( loop ) %] [% UNLESS ( noItemTypeImages ) %][% END %] -- 2.39.5
Image