From b1d4e9c7fbf78aa32a38bf21d6c983a52b9eacda Mon Sep 17 00:00:00 2001 From: Dessalines Date: Fri, 10 Jan 2025 12:06:05 -0500 Subject: [PATCH] Update crates/db_views_moderator/src/modlog_combined_view.rs Co-authored-by: dullbananas --- crates/db_views_moderator/src/modlog_combined_view.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/crates/db_views_moderator/src/modlog_combined_view.rs b/crates/db_views_moderator/src/modlog_combined_view.rs index 4f81050dc..94c7696aa 100644 --- a/crates/db_views_moderator/src/modlog_combined_view.rs +++ b/crates/db_views_moderator/src/modlog_combined_view.rs @@ -373,8 +373,10 @@ impl ModlogCombinedQuery { query = query.after(page_after); } - // Tie breaker - query = query.then_desc(key::published).then_desc(key::id); + query = query + .then_desc(key::published) + // Tie breaker + .then_desc(key::id); let res = query.load::(conn).await?;