mirror of
https://github.com/hcengineering/platform.git
synced 2024-11-27 01:13:27 +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) {
|
||||
update[`content${i}`] = ops[attr.name]
|
||||
shouldUpdate = true
|
||||
i++
|
||||
}
|
||||
i++
|
||||
}
|
||||
if (shouldUpdate) {
|
||||
return await this.adapter.update(tx.objectId, update)
|
||||
|
Loading…
Reference in New Issue
Block a user