##// END OF EJS Templates
Backed out changeset 68e7bfc6c078
neko259 -
r987:7244489c default
parent child Browse files
Show More
@@ -102,7 +102,7 b' class Thread(models.Model):'
102 reply_count_to_show = min(settings.LAST_REPLIES_COUNT,
102 reply_count_to_show = min(settings.LAST_REPLIES_COUNT,
103 reply_count - 1)
103 reply_count - 1)
104 replies = self.get_replies()
104 replies = self.get_replies()
105 last_replies = replies.reverse()[:reply_count_to_show]
105 last_replies = replies[reply_count - reply_count_to_show:]
106
106
107 return last_replies
107 return last_replies
108
108
General Comments 0
You need to be logged in to leave comments. Login now