FIX: Update search index after renaming user within posts

This commit is contained in:
Gerhard Schlager
2018-05-14 13:20:30 +02:00
parent 02cb84847c
commit 8232aba743
2 changed files with 10 additions and 0 deletions
+2
View File
@@ -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