You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by wa...@apache.org on 2023/02/11 08:57:45 UTC

[incubator-devlake] branch hexun-tapd updated: Update bug_changelog_collector.go

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

warren pushed a commit to branch hexun-tapd
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git


The following commit(s) were added to refs/heads/hexun-tapd by this push:
     new ec289a87b Update bug_changelog_collector.go
ec289a87b is described below

commit ec289a87bdb8f95ba4b5c071245d0dc1ad106a59
Author: Warren Chen <yi...@merico.dev>
AuthorDate: Sat Feb 11 16:57:40 2023 +0800

    Update bug_changelog_collector.go
    
    fix order bug
---
 plugins/tapd/tasks/bug_changelog_collector.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/tapd/tasks/bug_changelog_collector.go b/plugins/tapd/tasks/bug_changelog_collector.go
index 20c242c66..3ed21ab13 100644
--- a/plugins/tapd/tasks/bug_changelog_collector.go
+++ b/plugins/tapd/tasks/bug_changelog_collector.go
@@ -50,7 +50,7 @@ func CollectBugChangelogs(taskCtx core.SubTaskContext) errors.Error {
 			query.Set("workspace_id", fmt.Sprintf("%v", data.Options.WorkspaceId))
 			query.Set("page", fmt.Sprintf("%v", reqData.Pager.Page))
 			query.Set("limit", fmt.Sprintf("%v", reqData.Pager.Size))
-			query.Set("order", "created%20desc")
+			query.Set("order", "created desc")
 			if data.CreatedDateAfter != nil {
 				query.Set("created",
 					fmt.Sprintf(">%s",