Make fake-infinity precise to 4 bytes

This commit is contained in:
Samuel Georges 2019-12-04 18:30:32 +11:00
parent ee4078ac44
commit aa31667952

View File

@ -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
])));
}
/*