summaryrefslogtreecommitdiffstats
path: root/modules-available/statistics/inc
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/inc
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/inc')
-rw-r--r--modules-available/statistics/inc/statisticsfilter.inc.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules-available/statistics/inc/statisticsfilter.inc.php b/modules-available/statistics/inc/statisticsfilter.inc.php
index 5e6448c7..dbbb39e1 100644
--- a/modules-available/statistics/inc/statisticsfilter.inc.php
+++ b/modules-available/statistics/inc/statisticsfilter.inc.php
@@ -265,6 +265,7 @@ abstract class StatisticsFilter
'persistentgb' => new PartitionGbStatisticsFilter('id45mb'),
'gbram' => new RamGbStatisticsFilter(),
'kvmstate' => new EnumStatisticsFilter('kvmstate', ['ENABLED', 'DISABLED', 'UNSUPPORTED']),
+ 'firmware' => new EnumStatisticsFilter('firmware', ['BIOS', 'EFI']),
'badsectors' => new SimpleStatisticsFilter('badsectors', self::OP_ORDINAL, ''),
'currentuser' => new SimpleStatisticsFilter('currentuser', self::OP_STRCMP, 'login'),
'state' => new StateStatisticsFilter(),