Skip to content

Commit fbb3c36

Browse files
committed
feat(community_management): add comment filter to community management
- Implement a new filter option for comments in the community management feature - Add a condition to check if a listing has a comment, improving issue search functionality
1 parent 9b3ba7b commit fbb3c36

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/community_management/bloc/community_management_bloc.dart

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,11 @@ class CommunityManagementBloc
113113
r'$in': [filter.selectedStatus!.name],
114114
};
115115
}
116+
if (filter.hasComment) {
117+
filterMap['comment'] = {
118+
r'$ne': null,
119+
};
120+
}
116121
return filterMap;
117122
}
118123

0 commit comments

Comments
 (0)