mirror of
https://github.com/LemmyNet/lemmy.git
synced 2025-01-08 03:01:59 +00:00
Rename variable
This commit is contained in:
parent
e9d27f2840
commit
6de73f37ca
1 changed files with 1 additions and 1 deletions
|
@ -318,7 +318,7 @@ fn queries<'a>() -> Queries<
|
||||||
.then_order_by(post_actions::saved.desc());
|
.then_order_by(post_actions::saved.desc());
|
||||||
}
|
}
|
||||||
|
|
||||||
if options.read_only.unwrap_or_default() {
|
if o.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())
|
||||||
|
|
Loading…
Reference in a new issue