mirror of
https://github.com/hcengineering/platform.git
synced 2024-11-30 12:42:42 +03:00
fix fulltext update
Signed-off-by: Andrey Platov <andrey@hardcoreeng.com>
This commit is contained in:
parent
7b70a8c7b6
commit
10621de2e3
@ -113,8 +113,8 @@ export class FullTextIndex extends TxProcessor implements Storage {
|
|||||||
if (ops[attr.name] !== undefined) {
|
if (ops[attr.name] !== undefined) {
|
||||||
update[`content${i}`] = ops[attr.name]
|
update[`content${i}`] = ops[attr.name]
|
||||||
shouldUpdate = true
|
shouldUpdate = true
|
||||||
i++
|
|
||||||
}
|
}
|
||||||
|
i++
|
||||||
}
|
}
|
||||||
if (shouldUpdate) {
|
if (shouldUpdate) {
|
||||||
return await this.adapter.update(tx.objectId, update)
|
return await this.adapter.update(tx.objectId, update)
|
||||||
|
Loading…
Reference in New Issue
Block a user