From 6eaa8e9cd84e5ed0d8d1c47eff63f0d2f9a03244 Mon Sep 17 00:00:00 2001 From: Daniel Cebrian Date: Tue, 18 Jul 2023 14:52:34 +0200 Subject: [PATCH] #11326 fixed pagination with multiples datatable --- pandora_console/include/functions_ui.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandora_console/include/functions_ui.php b/pandora_console/include/functions_ui.php index a49beb0113..0533cfca8c 100755 --- a/pandora_console/include/functions_ui.php +++ b/pandora_console/include/functions_ui.php @@ -4261,7 +4261,7 @@ function ui_print_datatable(array $parameters) $("div.dt-buttons").hide(); if (dt_'.$table_id.'.page.info().pages > 1) { - $(".dataTables_paginate.paging_simple_numbers").show() + $("#'.$table_id.'_wrapper > .dataTables_paginate.paging_simple_numbers").show() } } else { $(".datatable-msg-info-'.$table_id.'").hide(); @@ -4272,7 +4272,7 @@ function ui_print_datatable(array $parameters) $("div.dt-buttons").show(); if (dt_'.$table_id.'.page.info().pages == 1) { - $(".dataTables_paginate.paging_simple_numbers").hide() + $("#'.$table_id.'_wrapper > .dataTables_paginate.paging_simple_numbers").hide() } }';