Skip to content

Commit c22ac9e

Browse files
committed
[comment] comments on each post should be chronological
1 parent cb822e0 commit c22ac9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/comment/main.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public static function get_all_from_image(int $image_id): array
8989
$rows = Ctx::$database->get_all(
9090
'SELECT * FROM comments
9191
WHERE image_id = :image_id
92-
ORDER BY id DESC',
92+
ORDER BY id ASC',
9393
['image_id' => $image_id]
9494
);
9595
return self::multi_row($rows);

0 commit comments

Comments
 (0)