Fixed bug #765: More robust tags list on filters for user stories

stable
Jesús Espino 2014-08-27 12:00:23 +02:00
parent 8d15e80a11
commit 80e1384c5a
1 changed files with 1 additions and 1 deletions

View File

@ -350,7 +350,7 @@ class BacklogController extends mixOf(taiga.Controller, taiga.PageMixin, taiga.F
@scope.filters = {} @scope.filters = {}
plainTags = _.flatten(_.map(@scope.userstories, "tags")) plainTags = _.flatten(_.filter(_.map(@scope.userstories, "tags")))
@scope.filters.tags = _.map _.countBy(plainTags), (v, k) => @scope.filters.tags = _.map _.countBy(plainTags), (v, k) =>
obj = { obj = {
id: k, id: k,