Closed MrOrz closed 3 years ago
Currently ListArticles(filter: {categoryId: [XXX]}) will include articles that has XXX even if
ListArticles(filter: {categoryId: [XXX]})
XXX
This PR fixes the above scenario to make sure only articleCategories that is not deleted yet and has positive (or neutral) feedback are considered.
articleCategories
Coverage remained the same at 88.666% when pulling 952c06f2d7540eb7c17faf856037e497147d9ce8 on fix-category-id-filter into 869bfcb4f24791793781f9a89d546d830e614fad on master.
Currently
ListArticles(filter: {categoryId: [XXX]})
will include articles that hasXXX
even ifXXX
has been deleted from the article, orXXX
receives more negative feedback than positive.This PR fixes the above scenario to make sure only
articleCategories
that is not deleted yet and has positive (or neutral) feedback are considered.