filter projects by is_closed
parent
ec0727fc95
commit
c349614651
|
@ -84,7 +84,12 @@ class HomeService extends taiga.Service
|
||||||
assigned_to: userId
|
assigned_to: userId
|
||||||
}
|
}
|
||||||
|
|
||||||
assignedUserStoriesPromise = @rs.userstories.listInAllProjects(params).then (userstories) ->
|
params_us = {
|
||||||
|
is_closed: false
|
||||||
|
assigned_to: userId
|
||||||
|
}
|
||||||
|
|
||||||
|
assignedUserStoriesPromise = @rs.userstories.listInAllProjects(params_us).then (userstories) ->
|
||||||
assignedTo = assignedTo.set("userStories", userstories)
|
assignedTo = assignedTo.set("userStories", userstories)
|
||||||
|
|
||||||
assignedTasksPromise = @rs.tasks.listInAllProjects(params).then (tasks) ->
|
assignedTasksPromise = @rs.tasks.listInAllProjects(params).then (tasks) ->
|
||||||
|
|
Loading…
Reference in New Issue