Followup #3584 - Fix order to DESC.
This commit is contained in:
parent
651f4e819e
commit
c8660b6d6f
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ class SidebarArticleAttachments extends App.Controller
|
|||
@el.html("<div>#{App.i18n.translateInline('none')}</div>")
|
||||
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)
|
||||
|
|
Loading…
Reference in a new issue