#446 fix typo in NodeVendor report - rflor

This commit is contained in:
Oliver Gorwits
2018-10-19 21:33:58 +01:00
parent 8ef42ede38
commit 3ddc1a3c8a

View File

@@ -102,7 +102,7 @@ get '/ajax/content/report/nodevendor' => require_login sub {
$rs = $rs->search( $rs = $rs->search(
{ }, { },
{ join => 'oui', { join => 'oui',
select => [ 'oui.abbrev', { count => {distinct 'me.mac'}} ], select => [ 'oui.abbrev', { count => {distinct => 'me.mac'}} ],
as => [qw/ vendor count /], as => [qw/ vendor count /],
group_by => [qw/ oui.abbrev /] group_by => [qw/ oui.abbrev /]
} }