fix: postgreSQL search engine error during page move (#1181)
This commit is contained in:
parent
e35e68d764
commit
3183014b25
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user