diff --git a/www/include/configuration/configObject/host/listHost.php b/www/include/configuration/configObject/host/listHost.php index 37275750a73..7465e11e6e5 100644 --- a/www/include/configuration/configObject/host/listHost.php +++ b/www/include/configuration/configObject/host/listHost.php @@ -63,7 +63,9 @@ if (isset($_POST["searchH"])) { $search = $_POST["searchH"]; - $_POST["search"] = $_POST["searchH"]; + $centreon->historySearch[$url] = $search; +} elseif (isset($_GET["searchH"])) { + $search = $_GET["searchH"]; $centreon->historySearch[$url] = $search; } elseif (isset($centreon->historySearch[$url])) { $search = $centreon->historySearch[$url];