This is an automated email from the ASF dual-hosted git repository.
klesh pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
The following commit(s) were added to refs/heads/main by this push:
new 68baa7d45 fix(zentao): get all tasks ignore task's status (#6003)
68baa7d45 is described below
commit 68baa7d45e4e6ac94d14c75f05fdf921591b23f0
Author: Lynwee <[email protected]>
AuthorDate: Fri Sep 1 14:15:21 2023 +0800
fix(zentao): get all tasks ignore task's status (#6003)
---
backend/plugins/zentao/tasks/task_collector.go | 1 +
1 file changed, 1 insertion(+)
diff --git a/backend/plugins/zentao/tasks/task_collector.go
b/backend/plugins/zentao/tasks/task_collector.go
index ed7b669fd..0538834e1 100644
--- a/backend/plugins/zentao/tasks/task_collector.go
+++ b/backend/plugins/zentao/tasks/task_collector.go
@@ -67,6 +67,7 @@ func CollectTask(taskCtx plugin.SubTaskContext) errors.Error {
query := url.Values{}
query.Set("page", fmt.Sprintf("%v", reqData.Pager.Page))
query.Set("limit", fmt.Sprintf("%v",
reqData.Pager.Size))
+ query.Set("status", "all")
return query, nil
},
GetTotalPages: GetTotalPagesFromResponse,