Fix headings on IP Inventory CSV report (J. Binks)

This commit is contained in:
Oliver Gorwits
2015-02-12 22:04:18 +00:00
parent a7de8dba6c
commit 3cc3f873d8
2 changed files with 7 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
[% USE CSV %]
[% CSV.dump([ 'Node' 'DNS' 'Time Last' 'Time First' ]) %]
[% CSV.dump([ 'Node' 'MAC Address' 'DNS' 'Last Used' ]) %]
[% FOREACH row IN results %]
[% mylist = [] %]
@@ -8,7 +8,6 @@
[% mylist.push(row.dns) %]
[% mylist.push(row.time_last) %]
[% CSV.dump(mylist) %]
[% END %]