• scienceasdf's avatar
    fix: search engine broken when renaming or moving pages (#2815) · d7d00b44
    scienceasdf authored
    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.
    d7d00b44
Name
Last commit
Last update
.devcontainer Loading commit data...
.github Loading commit data...
.vscode Loading commit data...
client Loading commit data...
dev Loading commit data...
server Loading commit data...
.babelrc Loading commit data...
.editorconfig Loading commit data...
.eslintignore Loading commit data...
.eslintrc.yml Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.npmrc Loading commit data...
.nvmrc Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
SECURITY.md Loading commit data...
azure-pipelines.yml Loading commit data...
config.sample.yml Loading commit data...
cypress.json Loading commit data...
package.json Loading commit data...
sonar-project.properties Loading commit data...
yarn.lock Loading commit data...