mirror of
https://github.com/LemmyNet/lemmy.git
synced 2025-01-19 04:46:19 +00:00
Update crates/db_views_moderator/src/modlog_combined_view.rs
Co-authored-by: dullbananas <dull.bananas0@gmail.com>
This commit is contained in:
parent
d09616cbc9
commit
b1d4e9c7fb
|
@ -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::<ModlogCombinedViewInternal>(conn).await?;
|
||||
|
||||
|
|
Loading…
Reference in a new issue