From d5ef146f88c79e5cee900aee3de6b7c18c2b5460 Mon Sep 17 00:00:00 2001 From: salam Date: Fri, 13 Feb 2026 13:42:08 +0100 Subject: [PATCH] wip --- app/Livewire/MapperRight.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Livewire/MapperRight.php b/app/Livewire/MapperRight.php index 9ee83f78..e9251fd0 100644 --- a/app/Livewire/MapperRight.php +++ b/app/Livewire/MapperRight.php @@ -123,7 +123,7 @@ class MapperRight extends Component implements HasActions, HasSchemas, HasTable $res = $query->pluck('group_cc')->toArray(); } - return Country::query()->whereIn('iso2', $res)->pluck('name', 'iso2'); + return Country::query()->whereIn('iso2', $res)->orderBy('name')->pluck('name', 'iso2'); }) ->reactive() ->afterStateUpdated(function (callable $set) {