Fix small typo in number range filter widget (#4891)

When a `max` is defined with no `min`, the filter should read "Negative infinity → max". Right now, it reads "Infinity → max", which is not accurate.
This commit is contained in:
Scott Bedard 2020-01-17 11:11:38 -07:00 committed by Luke Towers
parent 06b1f57755
commit 60ffd91064

View File

@ -153,7 +153,7 @@ class Filter extends WidgetBase
$min = $scope->value[0];
$max = $scope->value[1];
$params['minStr'] = $min ?? '∞';
$params['minStr'] = $min ?? '-∞';
$params['min'] = $min ?? null;
$params['maxStr'] = $max ?? '∞';