From 841d98dcb072acab6ccdf6e911cde2508cab0024 Mon Sep 17 00:00:00 2001 From: lseeger Date: Sat, 14 Dec 2024 16:34:10 +0100 Subject: [PATCH] formatted code --- crates/db_views/src/post_view.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/db_views/src/post_view.rs b/crates/db_views/src/post_view.rs index 3f9ccb5db..0e0a4e6a4 100644 --- a/crates/db_views/src/post_view.rs +++ b/crates/db_views/src/post_view.rs @@ -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.