Skip to content

Commit 892f963

Browse files
committed
fix(account): update topic sorting in AvailableTopicsBloc
- Add explicit SortOrder.asc to name sorting parameter - Ensures consistent sorting behavior in topic list retrieval
1 parent 8a8f1dc commit 892f963

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/account/bloc/available_topics_bloc.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class AvailableTopicsBloc
3030
try {
3131
// TODO(fulleni): Add pagination if necessary for very large datasets.
3232
final response = await _topicsRepository.readAll(
33-
sort: [const SortOption('name')],
33+
sort: [const SortOption('name', SortOrder.asc)],
3434
);
3535
emit(
3636
state.copyWith(

0 commit comments

Comments
 (0)