From 383099910d9da8d1c55094b0bf60f7b866f1212a Mon Sep 17 00:00:00 2001 From: Rico van Zelst Date: Mon, 27 Nov 2023 17:39:59 +0100 Subject: [PATCH] fix: reverse summoner icon sorting when you check out the icons, most of the time you probably are looking for recent ones not ones from 2009. --- app/Http/Controllers/SummonerIconController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/SummonerIconController.php b/app/Http/Controllers/SummonerIconController.php index 4386812..eb87087 100644 --- a/app/Http/Controllers/SummonerIconController.php +++ b/app/Http/Controllers/SummonerIconController.php @@ -13,7 +13,7 @@ class SummonerIconController extends Controller { $icons = QueryBuilder::for(SummonerIcon::class) ->allowedFilters('title') - ->defaultSort('icon_id') + ->defaultSort('-icon_id') ->paginate(72) ->appends(request()->query());