From 6de73f37ca79c99e6985656ba6c011006fa6da91 Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Fri, 3 Jan 2025 15:57:02 +0100 Subject: [PATCH] Rename variable --- crates/db_views/src/post_view.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/db_views/src/post_view.rs b/crates/db_views/src/post_view.rs index 534b87e1eb..2c32fd918e 100644 --- a/crates/db_views/src/post_view.rs +++ b/crates/db_views/src/post_view.rs @@ -318,7 +318,7 @@ fn queries<'a>() -> Queries< .then_order_by(post_actions::saved.desc()); } - if options.read_only.unwrap_or_default() { + if o.read_only.unwrap_or_default() { query = query .filter(post_actions::read.is_not_null()) .then_order_by(post_actions::read.desc())