Browse Source

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

NGPixel 5 years ago
parent
commit
3183014b25
1 changed files with 1 additions and 1 deletions
  1. 1 1
      server/modules/search/postgres/engine.js

+ 1 - 1
server/modules/search/postgres/engine.js

@@ -127,7 +127,7 @@ module.exports = {
   async renamed(page) {
     await WIKI.models.knex('pagesVector').where({
       locale: page.localeCode,
-      path: page.sourcePath
+      path: page.path
     }).update({
       locale: page.destinationLocaleCode,
       path: page.destinationPath