summaryrefslogtreecommitdiffstats
path: root/modules-available/statistics/api.inc.php
diff options
context:
space:
mode:
authorSimon Rettberg2021-09-24 16:42:50 +0200
committerSimon Rettberg2021-09-24 16:42:50 +0200
commit755cab15d44d5a4e15a9ff0302861dc686e47b57 (patch)
tree9a3c4acd97fe9ad4bc3e4523e75d7d759010f3a2 /modules-available/statistics/api.inc.php
parent[statistics/passthrough] WIP (diff)
downloadslx-admin-755cab15d44d5a4e15a9ff0302861dc686e47b57.tar.gz
slx-admin-755cab15d44d5a4e15a9ff0302861dc686e47b57.tar.xz
slx-admin-755cab15d44d5a4e15a9ff0302861dc686e47b57.zip
[statistics/passthrough] WIP
Diffstat (limited to 'modules-available/statistics/api.inc.php')
-rw-r--r--modules-available/statistics/api.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules-available/statistics/api.inc.php b/modules-available/statistics/api.inc.php
index b06d4503..ccc6bbd5 100644
--- a/modules-available/statistics/api.inc.php
+++ b/modules-available/statistics/api.inc.php
@@ -6,7 +6,7 @@ if (Request::any('action') === 'test' && isLocalExecution()) {
$x = new HardwareQuery(HardwareInfo::PCI_DEVICE);
//$x->addCompare(false, 'Memory Slot Occupied', '>=', true, 'Memory Slot Count');
$x->addWhere(true, 'vendor', '=', '8086');
- $x->addColumn(true, 'device');
+ $x->addGlobalColumn('device');
$res = $x->query();
foreach ($res as $row) {
error_log(json_encode($row));