mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-09-30 07:12:04 +00:00
then
This commit is contained in:
parent
ada5f8be5d
commit
41bc078488
1 changed files with 1 additions and 1 deletions
|
@ -255,7 +255,7 @@ fn queries<'a>() -> Queries<
|
|||
|
||||
// distinguished comments should go first when viewing post
|
||||
if options.post_id.is_some() || options.parent_path.is_some() {
|
||||
query = query.order_by(comment::distinguished.desc());
|
||||
query = query.then_order_by(comment::distinguished.desc());
|
||||
}
|
||||
|
||||
query = match options.sort.unwrap_or(CommentSortType::Hot) {
|
||||
|
|
Loading…
Reference in a new issue