mirror of
https://github.com/LemmyNet/lemmy.git
synced 2025-01-07 02:31:32 +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() {
|
if options.read_only.unwrap_or_default() {
|
||||||
query = query
|
query = query
|
||||||
.filter(post_actions::read.is_not_null())
|
.filter(post_actions::read.is_not_null())
|
||||||
.then_order_by(post_actions::read.desc())
|
.then_order_by(post_actions::read.desc())
|
||||||
}
|
}
|
||||||
// Only hide the read posts, if the saved_only is false. Otherwise ppl with the hide_read
|
// 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.
|
// setting wont be able to see saved posts.
|
||||||
|
|
Loading…
Reference in a new issue