diff options
author | Simon Rettberg | 2022-11-11 15:05:01 +0100 |
---|---|---|
committer | Simon Rettberg | 2022-11-11 15:05:01 +0100 |
commit | 8532a755dbdb33cf2c1c671f2c7fd5293f6cc0e1 (patch) | |
tree | 1c80fcde209b575e1056366a92394f27a090747f /modules-available/statistics/inc | |
parent | [minilinux] Add support for branch colors and changelogs (diff) | |
download | slx-admin-8532a755dbdb33cf2c1c671f2c7fd5293f6cc0e1.tar.gz slx-admin-8532a755dbdb33cf2c1c671f2c7fd5293f6cc0e1.tar.xz slx-admin-8532a755dbdb33cf2c1c671f2c7fd5293f6cc0e1.zip |
[statistics] Add placeholder to filters
Diffstat (limited to 'modules-available/statistics/inc')
-rw-r--r-- | modules-available/statistics/inc/statisticsfilter.inc.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules-available/statistics/inc/statisticsfilter.inc.php b/modules-available/statistics/inc/statisticsfilter.inc.php index d23ba92c..dfba4eb8 100644 --- a/modules-available/statistics/inc/statisticsfilter.inc.php +++ b/modules-available/statistics/inc/statisticsfilter.inc.php @@ -676,7 +676,7 @@ class PciDeviceStatisticsFilter extends StatisticsFilter public function __construct() { - parent::__construct(null, ['=']); + parent::__construct(null, ['='], 'vvvv[:dddd][,cccc]'); } public function whereClause(string $operator, $argument, array &$args, array &$joins): string @@ -715,7 +715,7 @@ class NicSpeedStatisticsFilter extends StatisticsFilter public function __construct() { - parent::__construct(null, StatisticsFilter::OP_ORDINAL); + parent::__construct(null, StatisticsFilter::OP_ORDINAL, 'MBit/s'); } public function whereClause(string $operator, $argument, array &$args, array &$joins): string |