From c50f24c2f6fe0fb09256ac63440eef376bcee46b Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 17 Feb 2022 17:39:52 +0100 Subject: [PATCH] Bug 29893: Redraw the tables from other tabs without paging Signed-off-by: Nick Clemens --- koha-tmpl/intranet-tmpl/prog/js/elasticsearch-mappings.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/js/elasticsearch-mappings.js b/koha-tmpl/intranet-tmpl/prog/js/elasticsearch-mappings.js index 730bf0e257..ad10a7ffb5 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/elasticsearch-mappings.js +++ b/koha-tmpl/intranet-tmpl/prog/js/elasticsearch-mappings.js @@ -84,9 +84,9 @@ $(document).ready(function () { }); $("#es_mappings").on("submit", function(e){ - $("#search_fields_table").DataTable().search('').draw(); - $("#mapping_biblios_table").DataTable().search('').draw(); - $("#mapping_authorities_table").DataTable().search('').draw(); + $("#search_fields_table").DataTable({ paging: false }).search('').draw(); + $("#mapping_biblios_table").DataTable({ paging: false }).search('').draw(); + $("#mapping_authorities_table").DataTable({ paging: false }).search('').draw(); return true; }); }); -- 2.30.2