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

This commit is contained in:
shamoon authored and GitHub committed 2024-04-06 23:39:59 +00:00
1 parent ae2b302962
commit 5450bfb67b
1 file changed
+1 -1
+1 -1
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(