Merge pull request #6047 from jitendra-webkul/master

Issue #6040 fixed
This commit is contained in:
Jitendra Singh 2022-03-16 16:59:34 +05:30 committed by GitHub
commit 7a100a72bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@
disabled="disabled"
@endif>
@foreach (core()->getCurrentChannel()->locales as $locale)
@foreach (core()->getCurrentChannel()->locales()->orderBy('name')->get() as $locale)
@if (isset($searchQuery) && $searchQuery)
<option
value="?{{ $searchQuery }}&locale={{ $locale->code }}"