fix watching us filter, is_closed

stable
Juanfran 2015-06-09 08:22:56 +02:00
parent 53fbc41116
commit 2d67ca4eb6
1 changed files with 6 additions and 1 deletions

View File

@ -103,9 +103,14 @@ class HomeService extends taiga.Service
watchers: userId watchers: userId
} }
params_us = {
is_closed: false
watchers: userId
}
watching = Immutable.Map() watching = Immutable.Map()
watchingUserStoriesPromise = @rs.userstories.listInAllProjects(params).then (userstories) -> watchingUserStoriesPromise = @rs.userstories.listInAllProjects(params_us).then (userstories) ->
watching = watching.set("userStories", userstories) watching = watching.set("userStories", userstories)
watchingTasksPromise = @rs.tasks.listInAllProjects(params).then (tasks) -> watchingTasksPromise = @rs.tasks.listInAllProjects(params).then (tasks) ->