summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteffen Ritter2019-08-27 12:56:17 +0200
committerSteffen Ritter2019-08-27 12:56:17 +0200
commitd1dc743cf77ed5f8021b11dd15811ad19315ac65 (patch)
tree0d53c34b21819403b5b32589e72ab9a8794342b0
parent[serversetup-bwlp-ipxe] Show title of referenced menus in entry list (diff)
downloadslx-admin-d1dc743cf77ed5f8021b11dd15811ad19315ac65.tar.gz
slx-admin-d1dc743cf77ed5f8021b11dd15811ad19315ac65.tar.xz
slx-admin-d1dc743cf77ed5f8021b11dd15811ad19315ac65.zip
[statistics] Add filter for runtime and lastboot
Fixes #3630
-rw-r--r--modules-available/statistics/page.inc.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/modules-available/statistics/page.inc.php b/modules-available/statistics/page.inc.php
index c5da85fe..bc5726ef 100644
--- a/modules-available/statistics/page.inc.php
+++ b/modules-available/statistics/page.inc.php
@@ -137,6 +137,16 @@ class Page_Statistics extends Page
'type' => 'int',
'column' => true
],
+ 'runtime' => [
+ 'op' => Page_Statistics::OP_ORDINAL,
+ 'type' => 'int',
+ 'column' => true
+ ],
+ 'lastboot' => [
+ 'op' => Page_Statistics::OP_ORDINAL,
+ 'type' => 'date',
+ 'column' => true
+ ],
];
if (Module::isAvailable('locations')) {
Page_Statistics::$columns['location'] = [