From dcc2c5e2d93945e35a7138a832f81bc8178c523d 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 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 Signed-off-by: Jonathan Druart --- .../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 020519d74d..d171710ea9 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.39.5