diff --git a/web/graphql/front_page.graphql b/web/graphql/front_page.graphql index 2f0b2b3..5a5fd22 100644 --- a/web/graphql/front_page.graphql +++ b/web/graphql/front_page.graphql @@ -9,6 +9,7 @@ query FrontPageQuery($query: String!, $after: String $before: String, $first: In } nodes { thread + total timestamp subject authors diff --git a/web/src/view/mod.rs b/web/src/view/mod.rs index 18a7ea0..a34a5b0 100644 --- a/web/src/view/mod.rs +++ b/web/src/view/mod.rs @@ -121,9 +121,7 @@ fn view_search_results( td![ C!["from"], pretty_authors(&r.authors), - // TODO(wathiede): visualize message count if more than one message is in the - // thread - //IF!(r.total>1 => small![" ", r.total.to_string()]), + IF!(r.total>1 => small![" ", r.total.to_string()]), ], td![ C!["subject"],