mirror of
https://github.com/LemmyNet/lemmy.git
synced 2025-01-05 17:53:48 +00:00
formatted code
This commit is contained in:
parent
3518f3f121
commit
841d98dcb0
1 changed files with 2 additions and 2 deletions
|
@ -296,8 +296,8 @@ fn queries<'a>() -> Queries<
|
|||
|
||||
if options.read_only.unwrap_or_default() {
|
||||
query = query
|
||||
.filter(post_actions::read.is_not_null())
|
||||
.then_order_by(post_actions::read.desc())
|
||||
.filter(post_actions::read.is_not_null())
|
||||
.then_order_by(post_actions::read.desc())
|
||||
}
|
||||
// Only hide the read posts, if the saved_only is false. Otherwise ppl with the hide_read
|
||||
// setting wont be able to see saved posts.
|
||||
|
|
Loading…
Reference in a new issue