diff --git a/app/assets/javascripts/app/controllers/ticket_zoom/sidebar_article_attachments.coffee b/app/assets/javascripts/app/controllers/ticket_zoom/sidebar_article_attachments.coffee index 2e7c561b8..e26c679c4 100644 --- a/app/assets/javascripts/app/controllers/ticket_zoom/sidebar_article_attachments.coffee +++ b/app/assets/javascripts/app/controllers/ticket_zoom/sidebar_article_attachments.coffee @@ -17,7 +17,7 @@ class SidebarArticleAttachments extends App.Controller @el.html("
#{App.i18n.translateInline('none')}
") return html = '' - for ticket_article_id in @ticket.article_ids.sort((a, b) -> a - b) + for ticket_article_id in @ticket.article_ids.sort((a, b) -> b - a) if App.TicketArticle.exists(ticket_article_id) article = App.TicketArticle.find(ticket_article_id) attachments = App.TicketArticle.contentAttachments(article)