Fix: Make customfieldinstance soft delete, fix filepath when deleted (#8067)

This commit is contained in:
shamoon authored and GitHub committed 2024-10-28 14:02:09 +00:00
1 parent 28fdb170bf
commit 79092c27c5
4 files changed
+64 -4

No files matched your search

+1 -1
View File
@@ -296,7 +296,7 @@ def validate_filepath_template_and_render(
else:
# or use the real document information
tags_list = document.tags.order_by("name").all()
custom_fields = document.custom_fields.all()
custom_fields = CustomFieldInstance.global_objects.filter(document=document)
# Build the context dictionary
context = (