We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b72464 commit ee8bbfcCopy full SHA for ee8bbfc
lib/content_management/bloc/create_headline/create_headline_bloc.dart
@@ -51,9 +51,15 @@ class CreateHeadlineBloc
51
topicsResponse,
52
countriesResponse,
53
] = await Future.wait([
54
- _sourcesRepository.readAll(),
55
- _topicsRepository.readAll(),
56
- _countriesRepository.readAll(),
+ _sourcesRepository.readAll(
+ sort: [const SortOption('name', SortOrder.asc)],
+ ),
57
+ _topicsRepository.readAll(
58
59
60
+ _countriesRepository.readAll(
61
62
63
]);
64
65
final sources = (sourcesResponse as PaginatedResponse<Source>).items;
0 commit comments