mirror of
https://github.com/wintercms/winter.git
synced 2024-06-28 05:33:29 +02:00
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:
parent
06b1f57755
commit
60ffd91064
@ -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 ?? '∞';
|
||||
|
Loading…
x
Reference in New Issue
Block a user