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()];
     }