diff options
Diffstat (limited to 'web/api/public/distro-tree')
-rwxr-xr-x | web/api/public/distro-tree | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/api/public/distro-tree b/web/api/public/distro-tree index 5d93e1b..cff35ec 100755 --- a/web/api/public/distro-tree +++ b/web/api/public/distro-tree @@ -12,7 +12,7 @@ use Data::Dumper; $nms::web::cc{'max-age'} = "20"; -my $q2 = $nms::web::dbh->prepare('select sysname,distro_phy_port,distro_name from switches where placement is not null and distro_name is not null and distro_phy_port is not null'); +my $q2 = $nms::web::dbh->prepare('select sysname,distro_phy_port,distro_name from switches where placement is not null and distro_name is not null and distro_phy_port is not null and deleted = false'); $q2->execute(); while (my $ref = $q2->fetchrow_hashref()) { |