|
|
@@ -87,7 +87,7 @@ class GameplayRuleService extends BaseService
|
|
|
{
|
|
|
$limit = isset($search['limit'])?$search['limit']:15;
|
|
|
$paginator = self::model()::where(self::getWhere($search))
|
|
|
- ->orderByDesc("odds")->paginate($limit);
|
|
|
+ ->orderBy("odds")->paginate($limit);
|
|
|
return ['total' => $paginator->total(), 'data' => $paginator->items()];
|
|
|
}
|
|
|
|