Fix for device counts in VLAN Inventory report

This commit is contained in:
Eric A. Miller
2014-06-02 22:38:54 -04:00
parent 3bb0aa2864
commit 592307dd32
2 changed files with 5 additions and 1 deletions

View File

@@ -5,6 +5,10 @@
* Ignore devices with "phone" in their CDP/LLDP platform description * Ignore devices with "phone" in their CDP/LLDP platform description
* Change log format to contain UTC timestamp * Change log format to contain UTC timestamp
[BUG FIXES]
* Fix for device counts in VLAN Inventory report
2.027007 - 2014-05-27 2.027007 - 2014-05-27
[BUG FIXES] [BUG FIXES]

View File

@@ -21,7 +21,7 @@ get '/ajax/content/report/vlaninventory' => require_login sub {
select => [ select => [
'me.vlan', 'me.vlan',
'me.description', 'me.description',
{ count => { distinct => 'ports.ip' } }, { count => { distinct => 'me.ip' } },
{ count => 'ports.vlan' } { count => 'ports.vlan' }
], ],
as => [qw/ vlan description dcount pcount /], as => [qw/ vlan description dcount pcount /],