#1151 Avoid showing pr button when pr is already opened from the branch: in forks as well
Merged 3 years ago by pingou. Opened 3 years ago by vivekanand1101.
vivekanand1101/pagure branches  into  master

file modified
+1 -1

@@ -316,7 +316,7 @@ 

  

      prs = pagure.lib.search_pull_requests(

          pagure.SESSION,

-         project_id=repo.id,

+         project_id_from=repo.id,

          status='Open'

      )

      for pr in prs:

no initial comment

rebased

3 years ago

This seems to be breaking for me for PR opened within a repo (from branch foo to branch master for example)

This is how it looks on my local instance:

Ok, so after further investigation, the issue was on my side, this change is good.

Rebase the PR and I'll merge :)

rebased

3 years ago

rebased

3 years ago

Pull-Request has been merged by pingou

3 years ago
Metadata