summaryrefslogtreecommitdiffstats
path: root/models/issue_milestone.go
diff options
context:
space:
mode:
authorEthan Koenig <ethantkoenig@gmail.com>2017-12-17 03:53:02 -0800
committerLauris BH <lauris@nix.lv>2017-12-17 13:53:02 +0200
commit6abfa48c0ecb9f19cb5b6c66763dbd577ac21dcc (patch)
tree7eef9b7dfccaa99be927b938b373337e966295e1 /models/issue_milestone.go
parenteb2b4df0ed258fc63108b272dda43b306ac25cce (diff)
downloadgitea-6abfa48c0ecb9f19cb5b6c66763dbd577ac21dcc.tar.gz
gitea-6abfa48c0ecb9f19cb5b6c66763dbd577ac21dcc.zip
Remove unnecessary updates to issue indexer (#3212)
Diffstat (limited to 'models/issue_milestone.go')
-rw-r--r--models/issue_milestone.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/issue_milestone.go b/models/issue_milestone.go
index b4ebabf57e..6ec8291233 100644
--- a/models/issue_milestone.go
+++ b/models/issue_milestone.go
@@ -282,7 +282,7 @@ func changeMilestoneAssign(e *xorm.Session, doer *User, issue *Issue, oldMilesto
}
}
- return updateIssue(e, issue)
+ return updateIssueCols(e, issue, "milestone_id")
}
// ChangeMilestoneAssign changes assignment of milestone for issue.