From 3ddc1a3c8a88e2c97237fde36131f1b58967d561 Mon Sep 17 00:00:00 2001 From: Oliver Gorwits Date: Fri, 19 Oct 2018 21:33:58 +0100 Subject: [PATCH] #446 fix typo in NodeVendor report - rflor --- lib/App/Netdisco/Web/Plugin/Report/NodeVendor.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/App/Netdisco/Web/Plugin/Report/NodeVendor.pm b/lib/App/Netdisco/Web/Plugin/Report/NodeVendor.pm index a61aafac..b8f61f53 100644 --- a/lib/App/Netdisco/Web/Plugin/Report/NodeVendor.pm +++ b/lib/App/Netdisco/Web/Plugin/Report/NodeVendor.pm @@ -102,7 +102,7 @@ get '/ajax/content/report/nodevendor' => require_login sub { $rs = $rs->search( { }, { join => 'oui', - select => [ 'oui.abbrev', { count => {distinct 'me.mac'}} ], + select => [ 'oui.abbrev', { count => {distinct => 'me.mac'}} ], as => [qw/ vendor count /], group_by => [qw/ oui.abbrev /] }