Remove comment.

This commit is contained in:
Dessalines 2024-10-28 10:29:46 -04:00
parent eccb85f72e
commit 5143e0ec30

View file

@ -123,8 +123,6 @@ fn queries<'a>() -> Queries<
let searcher = fuzzy_search(&search_term); let searcher = fuzzy_search(&search_term);
let name_filter = community::name.ilike(searcher.clone()); let name_filter = community::name.ilike(searcher.clone());
let title_filter = community::title.ilike(searcher.clone()); let title_filter = community::title.ilike(searcher.clone());
// TODO this currently filters the new short description column, but should it also check the
// sidebar too now?
let description_filter = community::description.ilike(searcher.clone()); let description_filter = community::description.ilike(searcher.clone());
query = if options.title_only.unwrap_or_default() { query = if options.title_only.unwrap_or_default() {
query.filter(name_filter.or(title_filter)) query.filter(name_filter.or(title_filter))