#875 Node Search - swap IP and DNS, add system name, highlight most recent, in the Switch Port rows

This commit is contained in:
Oliver Gorwits
2022-08-16 22:25:27 +01:00
parent dd468efdd5
commit 4d49f04d2a
4 changed files with 50 additions and 43 deletions

View File

@@ -92,7 +92,7 @@ See also the C<node_sightings> helper routine, below.
=cut
__PACKAGE__->has_many( nodes => 'App::Netdisco::DB::Result::Node',
{ 'foreign.mac' => 'self.mac' } );
{ 'foreign.mac' => 'self.mac' }, { order_by => { '-desc' => 'time_last' }} );
=head2 netbios