This is an automated email from the ASF dual-hosted git repository.
klesh pushed a commit to branch release-v0.18
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
The following commit(s) were added to refs/heads/release-v0.18 by this push:
new a9e362b2e fix(zentao): get all tasks ignore task's status (#6004)
a9e362b2e is described below
commit a9e362b2e38e2d77adcbd5edad25c32fcade9fe2
Author: Lynwee <[email protected]>
AuthorDate: Fri Sep 1 14:47:35 2023 +0800
fix(zentao): get all tasks ignore task's status (#6004)
---
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,