diff --git a/app/Http/Controllers/ForumController.php b/app/Http/Controllers/ForumController.php index 4431a06..8766d77 100644 --- a/app/Http/Controllers/ForumController.php +++ b/app/Http/Controllers/ForumController.php @@ -30,7 +30,7 @@ public function get($url) public function announcements() { $resp = $this->cache(function () { - return $this->get('discussions?filter[tag]=announcements&page[offset]=0&sort=-commentCount'); + return $this->get('discussions?filter[tag]=announcements&page[offset]=0&sort=-createdAt'); }); return $this->resp($resp); @@ -39,7 +39,7 @@ public function announcements() public function pinned() { $resp = $this->cache(function () { - return $this->get('discussions?filter[tag]=pinned&page[offset]=0&sort=-commentCount'); + return $this->get('discussions?filter[tag]=pinned&page[offset]=0&sort=-createdAt'); }); return $this->resp($resp);