Commit 3183014b authored by NGPixel's avatar NGPixel

fix: postgreSQL search engine error during page move (#1181)

parent e35e68d7
...@@ -127,7 +127,7 @@ module.exports = { ...@@ -127,7 +127,7 @@ module.exports = {
async renamed(page) { async renamed(page) {
await WIKI.models.knex('pagesVector').where({ await WIKI.models.knex('pagesVector').where({
locale: page.localeCode, locale: page.localeCode,
path: page.sourcePath path: page.path
}).update({ }).update({
locale: page.destinationLocaleCode, locale: page.destinationLocaleCode,
path: page.destinationPath path: page.destinationPath
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment