Remove unnecessary updates to issue indexer (#3212)
This commit is contained in:
parent
eb2b4df0ed
commit
6abfa48c0e
3 changed files with 22 additions and 2 deletions
|
@ -582,7 +582,7 @@ func updateIssueCols(e Engine, issue *Issue, cols ...string) error {
|
|||
if _, err := e.ID(issue.ID).Cols(cols...).Update(issue); err != nil {
|
||||
return err
|
||||
}
|
||||
UpdateIssueIndexer(issue.ID)
|
||||
UpdateIssueIndexerCols(issue.ID, cols...)
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue