Unverified Commit d7d00b44 authored by scienceasdf's avatar scienceasdf Committed by GitHub
Browse files

fix: search engine broken when renaming or moving pages (#2815)

For building suggest in elasticsearch, the safeContent field will be splitted into arrays. If the page is renamed or moved, the server will throw error: "Cannot read property 'split' of Undefined", and the index will be broken. Here two lines are added to fix this issue.
parent a1f1cd73
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment