diff --git a/app/views/moderation/_discussion.html.haml b/app/views/moderation/_discussion.html.haml
index 0a027595..39e66a0c 100644
--- a/app/views/moderation/_discussion.html.haml
+++ b/app/views/moderation/_discussion.html.haml
@@ -2,7 +2,7 @@
There are no comments yet.
- else
%ul.comments
- - report.moderation_comments.all.each do |comment|
+ - report.moderation_comments.order(:created_at).each do |comment|
%li{data: { comment_id: comment.id }}
.media.comments--media
.pull-left
@@ -22,4 +22,4 @@
%p.comments--content= comment.content
.form-group.has-feedback{name: 'mod-comment-new-group', data: { id: report.id }}
%input.form-control.comments--box{type: :text, placeholder: 'Comment...', name: 'mod-comment-new', data: { id: report.id }}
- %span.text-muted.form-control-feedback.comments--count{id: "mod-comment-charcount-#{report.id}"} 160
\ No newline at end of file
+ %span.text-muted.form-control-feedback.comments--count{id: "mod-comment-charcount-#{report.id}"} 160
diff --git a/app/views/shared/_comments.html.haml b/app/views/shared/_comments.html.haml
index e8ee64d2..20c52a0c 100644
--- a/app/views/shared/_comments.html.haml
+++ b/app/views/shared/_comments.html.haml
@@ -2,7 +2,7 @@
There are no comments yet.
- else
%ul.comments
- - a.comments.all.each do |comment|
+ - a.comments.order(:created_at).each do |comment|
%li{data: { comment_id: comment.id }}
.media.comments--media
.pull-left
@@ -30,4 +30,4 @@
- if user_signed_in?
.form-group.has-feedback{name: 'ab-comment-new-group', data: { a_id: a.id }}
%input.form-control.comments--box{type: :text, placeholder: 'Comment...', name: 'ab-comment-new', data: {a_id: a.id }}
- %span.text-muted.form-control-feedback.comments--count{id: "ab-comment-charcount-#{a.id}"} 160
\ No newline at end of file
+ %span.text-muted.form-control-feedback.comments--count{id: "ab-comment-charcount-#{a.id}"} 160