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

@@ -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 /],