mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-26 22:31:20 +00:00
Remove comment.
This commit is contained in:
parent
eccb85f72e
commit
5143e0ec30
1 changed files with 0 additions and 2 deletions
|
@ -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))
|
||||||
|
|
Loading…
Reference in a new issue