Fix: Use correct custom field id when splitting (#6303)

This commit is contained in:
shamoon 2024-04-06 16:39:59 -07:00 committed by GitHub
parent ae2b302962
commit 5450bfb67b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -116,7 +116,7 @@ class DocumentMetadataOverrides:
).values_list("id", flat=True),
)
overrides.custom_field_ids = list(
doc.custom_fields.values_list("id", flat=True),
doc.custom_fields.values_list("field", flat=True),
)
groups_with_perms = get_groups_with_perms(