From 21d948bf80157817e4b3e74b1c6ccbc4b4f29a7f Mon Sep 17 00:00:00 2001 From: Roman Kelesidis Date: Fri, 22 Nov 2024 01:11:33 +0700 Subject: [PATCH] Update viewtopic.php --- viewtopic.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/viewtopic.php b/viewtopic.php index add3184ad..90a71a9bd 100644 --- a/viewtopic.php +++ b/viewtopic.php @@ -345,7 +345,7 @@ $sql = " WHERE p.topic_id = $topic_id $limit_posts_time GROUP BY p.post_id - ORDER BY p.post_time $post_order + ORDER BY p.post_pinned DESC, p.post_time $post_order LIMIT $start, $posts_per_page ";