Browse Source

Merge branch '20250522_diywebfr'

15313670163 4 days ago
parent
commit
be5b8ee27c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/JsonRpc/PublicRpcService.php

+ 1 - 1
app/JsonRpc/PublicRpcService.php

@@ -669,7 +669,7 @@ class PublicRpcService implements PublicRpcServiceInterface
             ->leftJoin('template', 'template_class.id', '=', 'template.template_class_id')
             ->select('template_class.*', DB::raw('COUNT(template.id) as template_count'))
             ->groupBy('template_class.id')
-            ->orderBy('template_class.updated_at', 'desc')
+            ->orderBy('template_class.id', 'desc')
             ->offset(($data['page'] - 1) * $data['pageSize'])
             ->limit($data['pageSize'])
             ->get();