From 2c5c344ece6c7c5568666d9e63ae0746190a4f50 Mon Sep 17 00:00:00 2001 From: Oliver Gorwits Date: Mon, 1 Aug 2022 17:48:50 +0100 Subject: [PATCH] fix bug in vlan names feature missing ports without vlan table entry --- lib/App/Netdisco/DB/Result/DevicePort.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/App/Netdisco/DB/Result/DevicePort.pm b/lib/App/Netdisco/DB/Result/DevicePort.pm index da1c24a2..59b528ae 100644 --- a/lib/App/Netdisco/DB/Result/DevicePort.pm +++ b/lib/App/Netdisco/DB/Result/DevicePort.pm @@ -220,7 +220,7 @@ __PACKAGE__->belongs_to( "$args->{self_alias}.vlan" => { '=' => \"cast($args->{foreign_alias}.vlan as text)" } }; - }, + }, { join_type => 'LEFT' } ); =head2 agg_master