From a2f9346f1d2858bd87d68593b39bd8775b1731b8 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Sat, 19 Jan 2013 19:53:50 -0500 Subject: [PATCH] Bug 9436 [Revised] Use DataTables on cities administration page Replace the tablesorter plugin with the DataTables plugin on the cities administration page. To test, open the cities administration page (Administration -> Cities and towns). Confirm that table sorting works correctly. Revision corrects template path to datatables assets. Further revision corrects conflict with Bug 9630 Signed-off-by: Bernardo Gonzalez Kriegel Comment: Sorting works. No errors. Signed-off-by: Jonathan Druart Amended patch: Add the aLengthMenu key for DataTables + delete an unused div block (used for pager) Signed-off-by: Jared Camins-Esakov --- .../prog/en/modules/admin/cities.tt | 26 ++++++++++--------- 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/cities.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/cities.tt index 65de2bea93..acb4f22638 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/cities.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/cities.tt @@ -1,15 +1,10 @@ [% INCLUDE 'doc-head-open.inc' %] Koha › Administration › [% IF ( add_form ) %]Cities › [% IF ( cityid ) %] Modify city[% ELSE %] New city[% END %][% ELSE %][% IF ( delete_confirm ) %]Cities › Confirm deletion of city[% ELSE %] Cities[% END %][% END %] [% INCLUDE 'doc-head-close.inc' %] - - - + + +[% INCLUDE 'datatables-strings.inc' %] + @@ -125,9 +130,6 @@ [% END %] [% IF ( loop ) %] -
-[% INCLUDE 'table-pager.inc' perpage='20' %] -
-- 2.39.5
City ID