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

+ 1 - 0
app/Services/GameplayRuleService.php

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