diff --git a/www/include/configuration/configObject/host/listHost.php b/www/include/configuration/configObject/host/listHost.php index f36fd5060bf..08d784d3232 100644 --- a/www/include/configuration/configObject/host/listHost.php +++ b/www/include/configuration/configObject/host/listHost.php @@ -64,7 +64,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]; @@ -269,9 +271,9 @@ $selectedElements = $form->addElement('checkbox', "select[".$host['host_id']."]"); if ($host["host_activate"]) { - $moptions = ""._("Disabled").""; + $moptions = ""._("Disabled").""; } else { - $moptions = ""._("Enabled").""; + $moptions = ""._("Enabled").""; } $moptions .= " 31 && (event.keyCode < 45 || event.keyCode > 57)) event.returnValue = false; if(event.which > 31 && (event.which < 45 || event.which > 57)) return false;\" maxlength=\"3\" size=\"3\" value='1' style=\"margin-bottom:0px;\" name='dupNbr[".$host['host_id']."]'>";