diff --git a/routes/web.php b/routes/web.php index 8f41f9e..c2d918b 100644 --- a/routes/web.php +++ b/routes/web.php @@ -24,7 +24,8 @@ 'artworks' => Artwork::published() ->has('coverPhotoMedia') ->with(['authors', 'coverPhotoMedia', 'yearBuilt']) - ->orderByDesc('is_promoted', 'created_at') + ->orderByDesc('is_promoted') + ->orderByDesc('created_at') ->take(4) ->get(),