Home › Forums › GetFund – A Professional Laravel Crowdfunding Platform › Campaign Form Countries › Reply To: Campaign Form Countries
Hi
At the file /root/app/Http/Controllers/CampaignsController.php on line 36, find $countries = Country::all();
/root/app/Http/Controllers/CampaignsController.php
$countries = Country::all();
Replace with $countries = Country::orderBy('name', 'desc')->get();
$countries = Country::orderBy('name', 'desc')->get();
Then your country will be come by name descending order.
Best regards