From d654336cb37223a8dc308c6433eda5cea1f389ff Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 13 Dec 2017 15:46:10 +0000 Subject: [PATCH] Bug 19805: Add DataTables to Koha to MARC mapping page Content-Type: text/plain; charset=utf-8 This patch adds sorting and filtering to the Koha to MARC mapping table using DataTables. Also changed: Font awesome icons on "Add" and "Remove" buttons; Minor markup correction to breadcrumbs. To test, apply the patch and go to Administration -> Koha to MARC mapping. - Table should be sorted by default on Koha field. - Sorting and filtering should work correctly. Signed-off-by: Simon Pouchol Signed-off-by: Marcel de Rooy --- .../prog/en/modules/admin/koha2marclinks.tt | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/koha2marclinks.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/koha2marclinks.tt index 020519d..d171710 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/koha2marclinks.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/koha2marclinks.tt @@ -2,13 +2,14 @@ [% INCLUDE 'doc-head-open.inc' %] Koha › Administration › Koha to MARC mapping [% INCLUDE 'doc-head-close.inc' %] + [% INCLUDE 'header.inc' %] [% INCLUDE 'prefs-admin-search.inc' %] - +
@@ -39,10 +40,10 @@ [% loo.tagfield %] [% loo.tagsubfield %] [% loo.liblibrarian %] - + [% IF !loo.readonly %] - Add - [% IF loo.tagfield %] Remove [% END %] + Add + [% IF loo.tagfield %] Remove [% END %] [% END %] @@ -66,6 +67,7 @@
[% MACRO jsinclude BLOCK %] + [% INCLUDE 'datatables.inc' %] [% END %] [% INCLUDE 'intranet-bottom.inc' %] -- 2.1.4