fix oui join type and improve search comments

This commit is contained in:
Oliver Gorwits
2012-01-21 00:02:37 +00:00
parent f574cd1db5
commit f844938a65
3 changed files with 3 additions and 2 deletions

View File

@@ -69,6 +69,7 @@ __PACKAGE__->belongs_to( oui => 'Netdisco::DB::Result::Oui',
{ '=' => \"substring(cast($args->{self_alias}.mac as varchar) for 8)" }
};
}
, { join_type => 'LEFT' }
);
__PACKAGE__->has_many( node_ips => 'Netdisco::DB::Result::NodeIp',