Skip to content

Commit 75e649f

Browse files
committed
update indexer when unarchive
1 parent 4960baa commit 75e649f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

routers/web/repo/setting/setting.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -933,6 +933,9 @@ func SettingsPost(ctx *context.Context) {
933933
}
934934
}
935935

936+
// update issue indexer
937+
issue_indexer.UpdateRepoIndexer(ctx, repo.ID)
938+
936939
ctx.Flash.Success(ctx.Tr("repo.settings.unarchive.success"))
937940

938941
log.Trace("Repository was un-archived: %s/%s", ctx.Repo.Owner.Name, repo.Name)

0 commit comments

Comments
 (0)