mirror of
https://github.com/wintercms/winter.git
synced 2024-06-28 05:33:29 +02:00
Make fake-infinity precise to 4 bytes
This commit is contained in:
parent
ee4078ac44
commit
aa31667952
@ -797,8 +797,8 @@ class Filter extends WidgetBase
|
||||
*/
|
||||
if ($scopeConditions = $scope->conditions) {
|
||||
$query->whereRaw(DbDongle::parse(strtr($scopeConditions, [
|
||||
':min' => $min === null ? -999999999 : $min,
|
||||
':max' => $max === null ? 999999999 : $max
|
||||
':min' => $min === null ? -2147483647 : $min,
|
||||
':max' => $max === null ? 2147483647 : $max
|
||||
])));
|
||||
}
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user