This is an automated email from the ASF dual-hosted git repository.
zhangliang2022 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 7877a6fd fix: issue_number does not exist (#2787)
7877a6fd is described below
commit 7877a6fdda5673bfd342acde1d80c35e83795b47
Author: abeizn <[email protected]>
AuthorDate: Mon Aug 22 13:23:54 2022 +0800
fix: issue_number does not exist (#2787)
* fix: issue_number does not exist
* fix: issue_number does not exist
---
plugins/refdiff/tasks/ref_issue_diff_calculator.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/refdiff/tasks/ref_issue_diff_calculator.go
b/plugins/refdiff/tasks/ref_issue_diff_calculator.go
index 347f34ba..9656cbf7 100644
--- a/plugins/refdiff/tasks/ref_issue_diff_calculator.go
+++ b/plugins/refdiff/tasks/ref_issue_diff_calculator.go
@@ -67,7 +67,7 @@ func CalculateIssuesDiff(taskCtx core.SubTaskContext) error {
dal.Where("refs.repo_id = ? and pull_request_issues.issue_key >
0 and (refs_commits_diffs.new_ref_id, refs_commits_diffs.old_ref_id) in ?",
repoId, pairList),
dal.Select(`refs_commits_diffs.new_ref_commit_sha as
new_ref_commit_sha, refs_commits_diffs.old_ref_commit_sha as
old_ref_commit_sha,
- pull_request_issues.issue_id as issue_id,
pull_request_issues.issue_key as issue_key,
+ pull_request_issues.issue_id as issue_id,
pull_request_issues.issue_key as issue_number,
refs_commits_diffs.new_ref_id as new_ref_id,
refs_commits_diffs.old_ref_id as old_ref_id`),
)
if err != nil {