@@ -130,3 +130,25 @@ func (r *indexerNotifier) IssueChangeTitle(ctx context.Context, doer *user_model
130130func (r * indexerNotifier ) IssueChangeRef (ctx context.Context , doer * user_model.User , issue * issues_model.Issue , oldRef string ) {
131131 issue_indexer .UpdateIssueIndexer (ctx , issue .ID )
132132}
133+
134+ func (r * indexerNotifier ) IssueChangeStatus (ctx context.Context , doer * user_model.User , commitID string , issue * issues_model.Issue , actionComment * issues_model.Comment , closeOrReopen bool ) {
135+ issue_indexer .UpdateIssueIndexer (ctx , issue .ID )
136+ }
137+
138+ func (r * indexerNotifier ) IssueChangeAssignee (ctx context.Context , doer * user_model.User , issue * issues_model.Issue , assignee * user_model.User , removed bool , comment * issues_model.Comment ) {
139+ issue_indexer .UpdateIssueIndexer (ctx , issue .ID )
140+ }
141+
142+ func (r * indexerNotifier ) IssueChangeMilestone (ctx context.Context , doer * user_model.User , issue * issues_model.Issue , oldMilestoneID int64 ) {
143+ issue_indexer .UpdateIssueIndexer (ctx , issue .ID )
144+ }
145+
146+ func (r * indexerNotifier ) IssueChangeLabels (ctx context.Context , doer * user_model.User , issue * issues_model.Issue ,
147+ addedLabels , removedLabels []* issues_model.Label ,
148+ ) {
149+ issue_indexer .UpdateIssueIndexer (ctx , issue .ID )
150+ }
151+
152+ func (r * indexerNotifier ) IssueClearLabels (ctx context.Context , doer * user_model.User , issue * issues_model.Issue ) {
153+ issue_indexer .UpdateIssueIndexer (ctx , issue .ID )
154+ }
0 commit comments