Ken 1 неделя назад
Родитель
Сommit
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()];
     }