• 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
..
app Loading commit data...
controllers Loading commit data...
core Loading commit data...
db Loading commit data...
graph Loading commit data...
helpers Loading commit data...
jobs Loading commit data...
locales Loading commit data...
middlewares Loading commit data...
models Loading commit data...
modules Loading commit data...
templates Loading commit data...
test/helpers Loading commit data...
themes/default Loading commit data...
views Loading commit data...
index.js Loading commit data...
master.js Loading commit data...
setup.js Loading commit data...