mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-26 06:11:26 +00:00
Clean up comment removed also.
This commit is contained in:
parent
7c2c27f442
commit
34bf2575f8
1 changed files with 1 additions and 2 deletions
|
@ -220,8 +220,7 @@ fn queries<'a>() -> Queries<
|
|||
query = query.filter(
|
||||
comment::content
|
||||
.ilike(fuzzy_search(&search_term))
|
||||
.and(comment::removed.eq(false))
|
||||
.and(comment::deleted.eq(false)),
|
||||
.and(not(comment::removed.or(comment::deleted))),
|
||||
);
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue