Fix full text attribute error (#7173)

Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
Andrey Sobolev 2024-11-14 23:30:57 +07:00 committed by GitHub
parent 63294b0c66
commit 00cb05e25a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -69,7 +69,7 @@ export async function OnChange (txes: Tx[], control: TriggerControl): Promise<Tx
// Skip operator changes
} else {
const key = upd.objectClass + '.' + k
const attr = attrs.get(key) ?? control.hierarchy.getAttribute(upd.objectClass, k)
const attr = attrs.get(key) ?? control.hierarchy.findAttribute(upd.objectClass, k)
if (attr !== undefined) {
attrs.set(key, attr ?? null)
}