mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
I accidentally the whole type selection on the devices page. Fixed.
git-svn-id: http://www.observium.org/svn/observer/trunk@2004 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@ -1,12 +1,12 @@
|
||||
<?php
|
||||
|
||||
if ($_POST['hostname']) { $where = " AND hostname LIKE '%".mres($_POST['hostname'])."%'"; }
|
||||
if ($_POST['os']) { $where = " AND os = '".mres($_POST['os'])."'"; }
|
||||
if ($_POST['hostname']) { $where .= " AND hostname LIKE '%".mres($_POST['hostname'])."%'"; }
|
||||
if ($_POST['os']) { $where .= " AND os = '".mres($_POST['os'])."'"; }
|
||||
if ($_POST['version']) { $where .= " AND version = '".mres($_POST['version'])."'"; }
|
||||
if ($_POST['hardware']) { $where .= " AND hardware = '".mres($_POST['hardware'])."'"; }
|
||||
if ($_POST['features']) { $where .= " AND features = '".mres($_POST['features'])."'"; }
|
||||
if ($_GET['type']) { $where .= " AND type = '" .mres($_GET[type]). "'"; }
|
||||
|
||||
# FIXME override
|
||||
if (isset($_REQUEST['location']))
|
||||
{
|
||||
if ($_GET['location'] == "Unset") { $location_filter = ''; }
|
||||
@ -138,4 +138,4 @@ while ($device = mysql_fetch_assoc($device_query))
|
||||
|
||||
echo("</table>");
|
||||
|
||||
?>
|
||||
?>
|
Reference in New Issue
Block a user