Skip to content

Commit f98040e

Browse files
committed
fix(headlines-feed): update countries filter sort order
- Change the sort order from descending to ascending for country names - This ensures that the list of countries is displayed in alphabetical order
1 parent 892f963 commit f98040e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/headlines-feed/bloc/countries_filter_bloc.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class CountriesFilterBloc
5353
try {
5454
final response = await _countriesRepository.readAll(
5555
pagination: const PaginationOptions(limit: _countriesLimit),
56-
sort: [const SortOption('name', SortOrder.desc)],
56+
sort: [const SortOption('name', SortOrder.asc)],
5757
);
5858
emit(
5959
state.copyWith(

0 commit comments

Comments
 (0)