mirror of
https://github.com/discourse/discourse.git
synced 2026-08-11 13:35:20 -05:00
FIX: Update search index after renaming user within posts
This commit is contained in:
@@ -24,6 +24,8 @@ module Jobs
|
||||
|
||||
# update without running validations and hooks
|
||||
post.update_columns(raw: post.raw, cooked: post.cooked)
|
||||
|
||||
SearchIndexer.index(post, force: true)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user