From ebd37cbb81d9ad3b85e33e46264e403ba5c4b0e3 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 --- 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 730bf0e2575..ad10a7ffb5b 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.25.1