LiuJ пре 21 часа
родитељ
комит
27b02b1c52
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      app/JsonRpc/NewsService.php

+ 1 - 1
app/JsonRpc/NewsService.php

@@ -1194,7 +1194,7 @@ class NewsService implements NewsServiceInterface
       ->where('article.status', 1)
       ->where('website_category.website_id', $data['website_id'])
       ->select('article.id', 'article.title', 'article.catid', 'article.imgurl', 'article.hits', 'article.created_at', 'website_category.alias', 'website_category.alias_pinyin', 'website_category.website_id')
-      ->orderBy('article.updated_at', 'desc')
+      // ->orderBy('article.updated_at', 'desc')
       ->limit(5)
       ->get();
     $result['category_id'] = $category['category_id'];