Commit a34c393
committed
fix(headline-details): filter similar headlines by topic and status
- Updated the filter criteria in SimilarHeadlinesBloc to include both topic ID and content status
- Added ContentStatus import from core package
- Modified the filter map to include 'status': ContentStatus.active.name
- This change ensures that only active headlines from the same topic are fetched1 parent 1e6857d commit a34c393
1 file changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
32 | 36 | | |
33 | 37 | | |
34 | 38 | | |
| |||
0 commit comments