From 444204607fb6e64432c2b06d212a9e9c59c0f8c8 Mon Sep 17 00:00:00 2001 From: Alex Arnaud Date: Thu, 12 Apr 2018 09:36:59 +0000 Subject: [PATCH] Bug 20588 - Apply dataTable on search fields and mapping tables MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This add the following capabilities: - Pagination, - columns sorting, - data filtering Test plan: - apply this patch, - update DB and schema files, - add/remove search fields and mappings Signed-off-by: Séverine QUEUNE --- .../admin/searchengine/elasticsearch/mappings.tt | 156 ++++++++++++++++----- 1 file changed, 119 insertions(+), 37 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/searchengine/elasticsearch/mappings.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/searchengine/elasticsearch/mappings.tt index 8403af3..901ace1 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/searchengine/elasticsearch/mappings.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/searchengine/elasticsearch/mappings.tt @@ -3,13 +3,51 @@ [% INCLUDE 'doc-head-open.inc' %] Koha › Administration › Search engine configuration [% INCLUDE 'doc-head-close.inc' %] +[% INCLUDE 'datatables.inc' %] [% Asset.js("lib/jquery/plugins/jquery.tablednd.js") | $raw %] -