fix to IP Inventory for nodes with archive records.

also change column Device to be named Node.
This commit is contained in:
Oliver Gorwits
2014-02-22 11:24:18 +00:00
parent 6eb88bc443
commit bb38f40816
4 changed files with 6 additions and 3 deletions

View File

@@ -109,6 +109,7 @@ get '/ajax/content/report/ipinventory' => require_login sub {
'ip', 'dns', 'time_last', 'time_first',
'active', 'node', 'age'
],
order_by => [{-asc => 'ip'}, {-desc => 'active'}],
}
)->as_query;