diff options
author | Jannik Schönartz | 2017-11-23 13:00:55 +0100 |
---|---|---|
committer | Jannik Schönartz | 2017-11-23 13:00:55 +0100 |
commit | ec10851584b4be86add55b571e56c79afe97975f (patch) | |
tree | 7d092597629eaca80db011c2aae5394e21c333e4 /modules-available/statistics | |
parent | Merge branch 'master' of git.openslx.org:openslx-ng/slx-admin (diff) | |
download | slx-admin-ec10851584b4be86add55b571e56c79afe97975f.tar.gz slx-admin-ec10851584b4be86add55b571e56c79afe97975f.tar.xz slx-admin-ec10851584b4be86add55b571e56c79afe97975f.zip |
[statistics] Filter 'state' was missing in the client statistics filter
Diffstat (limited to 'modules-available/statistics')
-rw-r--r-- | modules-available/statistics/page.inc.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/modules-available/statistics/page.inc.php b/modules-available/statistics/page.inc.php index f8b40405..575c5c19 100644 --- a/modules-available/statistics/page.inc.php +++ b/modules-available/statistics/page.inc.php @@ -106,6 +106,12 @@ class Page_Statistics extends Page 'op' => Page_Statistics::$op_nominal, 'type' => 'string', 'column' => true + ], + 'state' => [ + 'op' => Page_Statistics::$op_nominal, + 'type' => 'enum', + 'column' => true, + 'values' => ['occupied', 'on'] ] ]; if (Module::isAvailable('locations')) { @@ -211,7 +217,6 @@ class Page_Statistics extends Page $sortColumn = Request::any('sortColumn'); $sortDirection = Request::any('sortDirection'); $filters = Filter::parseQuery($this->query); - $filterSet = new FilterSet($filters); $filterSet->setSort($sortColumn, $sortDirection); |