diff --git a/app/coffee/modules/issues/list.coffee b/app/coffee/modules/issues/list.coffee index c7f544b8..f6546495 100644 --- a/app/coffee/modules/issues/list.coffee +++ b/app/coffee/modules/issues/list.coffee @@ -193,7 +193,7 @@ class IssuesController extends mixOf(taiga.Controller, taiga.PageMixin, taiga.Fi customFiltersRaw = result[1] dataCollection = {} - dataCollection.statuses = _.map data.statuses, (it) -> + dataCollection.status = _.map data.statuses, (it) -> it.id = it.id.toString() return it @@ -217,7 +217,7 @@ class IssuesController extends mixOf(taiga.Controller, taiga.PageMixin, taiga.Fi tagsWithAtLeastOneElement = _.filter dataCollection.tags, (tag) -> return tag.count > 0 - dataCollection.assignedTo = _.map data.assigned_to, (it) -> + dataCollection.assigned_to = _.map data.assigned_to, (it) -> if it.id it.id = it.id.toString() else @@ -273,7 +273,7 @@ class IssuesController extends mixOf(taiga.Controller, taiga.PageMixin, taiga.Fi { title: @translate.instant("COMMON.FILTERS.CATEGORIES.STATUS"), dataType: "status", - content: dataCollection.statuses + content: dataCollection.status }, { title: @translate.instant("COMMON.FILTERS.CATEGORIES.TAGS"), @@ -285,7 +285,7 @@ class IssuesController extends mixOf(taiga.Controller, taiga.PageMixin, taiga.Fi { title: @translate.instant("COMMON.FILTERS.CATEGORIES.ASSIGNED_TO"), dataType: "assigned_to", - content: dataCollection.assignedTo + content: dataCollection.assigned_to }, { title: @translate.instant("COMMON.FILTERS.CATEGORIES.ROLE"),