pub fn select_comments(
records: Vec<CommentRecord>,
author: Option<&str>,
latest: bool,
) -> Vec<CommentRecord>Expand description
Filter a listing: author keeps that author’s comments (exact match);
latest keeps one comment per thread, the newest by date (later in the
listing on a tie), threads in the order their first comment appears.