From 5584865052889ca4f8bfc72af5fe9a89be0c3e1e Mon Sep 17 00:00:00 2001 From: Oliver Gorwits Date: Wed, 21 Feb 2018 21:31:48 +0000 Subject: [PATCH] minor fixes --- lib/App/Netdisco/DB/Result/DevicePort.pm | 3 ++- lib/App/Netdisco/DB/ResultSet/DevicePort.pm | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/App/Netdisco/DB/Result/DevicePort.pm b/lib/App/Netdisco/DB/Result/DevicePort.pm index 034754fa..e12f6290 100644 --- a/lib/App/Netdisco/DB/Result/DevicePort.pm +++ b/lib/App/Netdisco/DB/Result/DevicePort.pm @@ -175,7 +175,8 @@ device port. __PACKAGE__->might_have( properties => 'App::Netdisco::DB::Result::DevicePortProperties', { 'foreign.ip' => 'self.ip', 'foreign.port' => 'self.port', -}); + }, { join_type => 'LEFT OUTER' } +); =head2 ssid diff --git a/lib/App/Netdisco/DB/ResultSet/DevicePort.pm b/lib/App/Netdisco/DB/ResultSet/DevicePort.pm index 4b471617..84b619c6 100644 --- a/lib/App/Netdisco/DB/ResultSet/DevicePort.pm +++ b/lib/App/Netdisco/DB/ResultSet/DevicePort.pm @@ -154,6 +154,7 @@ sub delete { foreach my $set (qw/ DevicePortPower + DevicePortProperties DevicePortVlan DevicePortWireless DevicePortSsid