filtering_removed_comments_search

pull/4634/head
tracyspacy 4 weeks ago
parent 03414c7526
commit 6e9b1de7a2

@ -201,6 +201,12 @@ pub async fn search(
}
};
//filtering out removed comments from search results
let comments = comments
.into_iter()
.filter(|c| !c.comment.removed)
.collect();
// Return the jwt
Ok(Json(SearchResponse {
type_: search_type,

Loading…
Cancel
Save