You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by ab...@apache.org on 2023/09/04 08:05:24 UTC

[incubator-devlake] 06/09: fix(zentao): get all tasks ignore task's status (#6003)

This is an automated email from the ASF dual-hosted git repository.

abeizn pushed a commit to branch feat#5841
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git

commit 03fc2c2101b76f4911352dcdb97afe521c7d740f
Author: Lynwee <li...@merico.dev>
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,