update
This commit is contained in:
@ -556,7 +556,8 @@ class Tracks extends Model
|
||||
|
||||
if (isset($filter["limit"])) {
|
||||
$query .= " LIMIT ?";
|
||||
$params[] = $filter["limit"] ?? 1000;
|
||||
$params[] = $filter["limit"] ?? 10000;
|
||||
// $params[] = $filter["limit"];
|
||||
}
|
||||
|
||||
$query .= " ;";
|
||||
@ -615,7 +616,8 @@ class Tracks extends Model
|
||||
}
|
||||
}
|
||||
|
||||
return $filtered->take(500);
|
||||
// return $filtered->take(500);
|
||||
return $filtered;
|
||||
}
|
||||
|
||||
public static function nearestInCircle($lat, $lng, $rad, $filter = [])
|
||||
|
||||
Reference in New Issue
Block a user