Ken 1 settimana fa
parent
commit
2cc9c2153d
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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()];
     }