mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-30 09:14:09 +02:00
parent
afce89dc98
commit
e1760724b8
@ -107,6 +107,17 @@ class AssignRenderer
|
||||
return $this->renderInArray($column, $expression);
|
||||
}
|
||||
|
||||
if (ctype_digit($rawExpression)) {
|
||||
// TODO: doing this for compat reasons, should work for all filters
|
||||
if ($filter instanceof FilterEqualOrGreaterThan
|
||||
|| $filter instanceof FilterGreaterThan
|
||||
|| $filter instanceof FilterEqualOrLessThan
|
||||
|| $filter instanceof FilterLessThan
|
||||
) {
|
||||
$expression = $rawExpression;
|
||||
}
|
||||
}
|
||||
|
||||
if ($filter instanceof FilterEqual) {
|
||||
if (is_array($rawExpression)) {
|
||||
return sprintf(
|
||||
|
Loading…
x
Reference in New Issue
Block a user