diff --git a/Netdisco/Changes b/Netdisco/Changes index 43f792a4..0ab55eb0 100644 --- a/Netdisco/Changes +++ b/Netdisco/Changes @@ -5,6 +5,10 @@ * Ignore devices with "phone" in their CDP/LLDP platform description * Change log format to contain UTC timestamp + [BUG FIXES] + + * Fix for device counts in VLAN Inventory report + 2.027007 - 2014-05-27 [BUG FIXES] diff --git a/Netdisco/lib/App/Netdisco/Web/Plugin/Report/VlanInventory.pm b/Netdisco/lib/App/Netdisco/Web/Plugin/Report/VlanInventory.pm index 91492277..9a2945d3 100644 --- a/Netdisco/lib/App/Netdisco/Web/Plugin/Report/VlanInventory.pm +++ b/Netdisco/lib/App/Netdisco/Web/Plugin/Report/VlanInventory.pm @@ -21,7 +21,7 @@ get '/ajax/content/report/vlaninventory' => require_login sub { select => [ 'me.vlan', 'me.description', - { count => { distinct => 'ports.ip' } }, + { count => { distinct => 'me.ip' } }, { count => 'ports.vlan' } ], as => [qw/ vlan description dcount pcount /],