From cef72abf380ba9d1b894043da6624288c06f2140 Mon Sep 17 00:00:00 2001 From: Charles T Date: Mon, 2 Oct 2023 00:34:44 +0800 Subject: [PATCH] Update (home): Remove featured logic --- app/Http/Controllers/Front/HomeController.php | 1 - 1 file changed, 1 deletion(-) diff --git a/app/Http/Controllers/Front/HomeController.php b/app/Http/Controllers/Front/HomeController.php index 209188c..58f5827 100644 --- a/app/Http/Controllers/Front/HomeController.php +++ b/app/Http/Controllers/Front/HomeController.php @@ -44,7 +44,6 @@ public function country(Request $request, $country) ->whereNotNull('post_categories.id') ->whereNotNull('categories.id') ->where('categories.country_locale_slug', $country_locale->slug) - ->where('posts.featured', true) ->where('posts.status', 'publish') ->orderBy('posts.publish_date', 'desc') ->take(3)