rkljw 6 mesi fa
parent
commit
fa37cbc81d
2 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      app/JsonRpc/WebsiteService.php
  2. 0 0
      runtime/container/scan.cache

+ 1 - 0
app/JsonRpc/WebsiteService.php

@@ -885,6 +885,7 @@ class WebsiteService implements WebsiteServiceInterface
             ->with(["websiteCategory"=>function ($query) {
             ->with(["websiteCategory"=>function ($query) {
                 $query->where(['pid'=>0])->select('website_id','name','alias','category_id');
                 $query->where(['pid'=>0])->select('website_id','name','alias','category_id');
             }])
             }])
+            ->orderBy('created_at','desc')
             ->limit($data['pageSize'])->offset(($data['page']-1)*$data['pageSize'])
             ->limit($data['pageSize'])->offset(($data['page']-1)*$data['pageSize'])
             ->get();
             ->get();
 
 

File diff suppressed because it is too large
+ 0 - 0
runtime/container/scan.cache


Some files were not shown because too many files changed in this diff