summaryrefslogtreecommitdiffstats
path: root/modules-available/statistics/pages
diff options
context:
space:
mode:
authorSimon Rettberg2024-12-18 11:21:33 +0100
committerSimon Rettberg2024-12-18 11:21:33 +0100
commitb43e0ab6489d4c5b69074234fbb99ffd0de6da55 (patch)
treeeb8656e2a060e75e3968797a25c566df0981880a /modules-available/statistics/pages
parent[statistics] Track firmware used by clients and display in machine details (diff)
downloadslx-admin-b43e0ab6489d4c5b69074234fbb99ffd0de6da55.tar.gz
slx-admin-b43e0ab6489d4c5b69074234fbb99ffd0de6da55.tar.xz
slx-admin-b43e0ab6489d4c5b69074234fbb99ffd0de6da55.zip
[statistics] Display/filter by firmware in client list
Diffstat (limited to 'modules-available/statistics/pages')
-rw-r--r--modules-available/statistics/pages/list.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules-available/statistics/pages/list.inc.php b/modules-available/statistics/pages/list.inc.php
index f08cd71c..f9cf413c 100644
--- a/modules-available/statistics/pages/list.inc.php
+++ b/modules-available/statistics/pages/list.inc.php
@@ -35,7 +35,7 @@ class SubPage
}
$allRows = Database::queryAll("SELECT m.machineuuid, m.locationid, m.macaddr, m.clientip, m.lastseen,
m.logintime, m.state, m.currentuser, m.currentrunmode, m.realcores, m.mbram, m.kvmstate, m.cpumodel, m.id44mb,
- m.id45mb, m.hostname, m.notes IS NOT NULL AS hasnotes,
+ m.id45mb, m.hostname, m.notes IS NOT NULL AS hasnotes, m.firmware,
m.badsectors, Count(s.machineuuid) AS confvars $xtra FROM machine m
LEFT JOIN setting_machine s ON (m.machineuuid = s.machineuuid)
$join WHERE $where GROUP BY m.machineuuid", $args);