diff --git a/pandora_console/general/header.php b/pandora_console/general/header.php index 027a7a1efa..362213bb75 100644 --- a/pandora_console/general/header.php +++ b/pandora_console/general/header.php @@ -703,6 +703,7 @@ if ($config['menu_type'] == 'classic') { }, success: function (data) { $('#result_order').html(data); + console.log(data); }, error: function (data) { console.error("Fatal error in AJAX call to interpreter order", data) diff --git a/pandora_console/include/class/OrderInterpreter.class.php b/pandora_console/include/class/OrderInterpreter.class.php index 9765e7a5d2..af0cb0443e 100644 --- a/pandora_console/include/class/OrderInterpreter.class.php +++ b/pandora_console/include/class/OrderInterpreter.class.php @@ -423,6 +423,10 @@ class OrderInterpreter extends Wizard + '.$more_results.' '.__('results found').'</div>'; } + if ($iterator === 0) { + echo __('No results found'); + } + echo '</div>'; } }