summaryrefslogtreecommitdiffstats
path: root/models/pull.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/pull.go')
-rw-r--r--models/pull.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/models/pull.go b/models/pull.go
index 3d2e5c6d97..8754c119f1 100644
--- a/models/pull.go
+++ b/models/pull.go
@@ -640,6 +640,8 @@ func NewPullRequest(repo *Repository, pull *Issue, labelIDs []int64, uuids []str
return fmt.Errorf("Commit: %v", err)
}
+ UpdateIssueIndexer(pull.ID)
+
if err = NotifyWatchers(&Action{
ActUserID: pull.Poster.ID,
ActUser: pull.Poster,