From 10621de2e3d9668bd88c1649b25c929b19c9c41e Mon Sep 17 00:00:00 2001 From: Andrey Platov Date: Tue, 26 Oct 2021 18:54:58 +0200 Subject: [PATCH] fix fulltext update Signed-off-by: Andrey Platov --- server/core/src/fulltext.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/core/src/fulltext.ts b/server/core/src/fulltext.ts index f60a88de37..1a6dd7950c 100644 --- a/server/core/src/fulltext.ts +++ b/server/core/src/fulltext.ts @@ -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)