Ken 1 週間 前
コミット
50a3d0e83c
1 ファイル変更1 行追加2 行削除
  1. 1 2
      app/Services/GameplayRuleService.php

+ 1 - 2
app/Services/GameplayRuleService.php

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