Skip to content

Commit

Permalink
Fix full text attribute error (#7173)
Browse files Browse the repository at this point in the history
Signed-off-by: Andrey Sobolev <[email protected]>
  • Loading branch information
haiodo authored Nov 14, 2024
1 parent 63294b0 commit 00cb05e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server-plugins/fulltext-resources/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 00cb05e

Please sign in to comment.