From 692a797f7c90fe9f890e748e7801718c58b07eae Mon Sep 17 00:00:00 2001 From: Oliver Gorwits Date: Sat, 25 Feb 2023 16:54:04 +0000 Subject: [PATCH] #478 csv --- share/views/ajax/report/apclients_csv.tt | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/share/views/ajax/report/apclients_csv.tt b/share/views/ajax/report/apclients_csv.tt index 145fc44f..f53bda37 100644 --- a/share/views/ajax/report/apclients_csv.tt +++ b/share/views/ajax/report/apclients_csv.tt @@ -1,13 +1,12 @@ [% USE CSV -%] -[% CSV.dump([ 'Device' 'Model' 'Location' 'Port' 'SSID' 'Node Count' ]) %] +[% CSV.dump([ 'Device' 'Access Point' 'Model' 'Radio' 'Node Count' ]) %] [% FOREACH row IN results %] [% mylist = [] %] [% mylist.push(row.dns || row.name || row.ip) %] + [% mylist.push(row.ports.port) %] [% mylist.push(row.model) %] - [% mylist.push(row.location) %] - [% mylist.push(row.port) %] - [% mylist.push(row.ssid) %] + [% mylist.push(row.ports.type) %] [% mylist.push(row.mac_count) %] [% CSV.dump(mylist) %]