diff --git a/boards/abstracts/settingsmanager.py b/boards/abstracts/settingsmanager.py --- a/boards/abstracts/settingsmanager.py +++ b/boards/abstracts/settingsmanager.py @@ -180,7 +180,7 @@ class SettingsManager: def get_last_posts(self): post_ids = self.get_setting(SETTING_LAST_POSTS) or [] - return list(boards.models.Post.objects.filter(id__in=post_ids)) + return list(boards.models.Post.objects.filter(id__in=post_ids).order_by('thread__id')) class SessionSettingsManager(SettingsManager):