From 2d67ca4eb6de465b3a9f4dce54f51a0f1f2559e6 Mon Sep 17 00:00:00 2001 From: Juanfran Date: Tue, 9 Jun 2015 08:22:56 +0200 Subject: [PATCH] fix watching us filter, is_closed --- app/modules/home/home.service.coffee | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app/modules/home/home.service.coffee b/app/modules/home/home.service.coffee index 5e326bca..054ddea5 100644 --- a/app/modules/home/home.service.coffee +++ b/app/modules/home/home.service.coffee @@ -103,9 +103,14 @@ class HomeService extends taiga.Service watchers: userId } + params_us = { + is_closed: false + watchers: userId + } + watching = Immutable.Map() - watchingUserStoriesPromise = @rs.userstories.listInAllProjects(params).then (userstories) -> + watchingUserStoriesPromise = @rs.userstories.listInAllProjects(params_us).then (userstories) -> watching = watching.set("userStories", userstories) watchingTasksPromise = @rs.tasks.listInAllProjects(params).then (tasks) ->