fix device sysname showing in node search

This commit is contained in:
Oliver Gorwits
2022-08-17 06:09:43 -04:00
parent 4490cece5e
commit 73862d5ac8
2 changed files with 2 additions and 1 deletions

View File

@@ -180,7 +180,7 @@ sub node_sightings {
return $row
->nodes({}, {
'+columns' => [qw/ device.dns /],
'+columns' => [qw/ device.dns device.name /],
join => 'device',
})
->search_rs({}, $search_attr)