From 5e77c42cc0a0638517d82bc692de033a5923e604 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Barrag=C3=A1n=20Merino?= Date: Wed, 28 Jan 2015 14:38:36 +0100 Subject: [PATCH] Change _.sorBy to _.sortBy --- app/coffee/modules/common/attachments.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/coffee/modules/common/attachments.coffee b/app/coffee/modules/common/attachments.coffee index 2e7cc853..1327dd98 100644 --- a/app/coffee/modules/common/attachments.coffee +++ b/app/coffee/modules/common/attachments.coffee @@ -126,7 +126,7 @@ class AttachmentsController extends taiga.Controller return @repo.saveAll(@.attachments).then null, => for item in @.attachments item.revert() - @.attachments = _.sorBy(@.attachments, "order") + @.attachments = _.sortBy(@.attachments, "order") # Remove one concrete attachment. removeAttachment: (attachment) ->