mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-08-12 00:19:48 +00:00
Fix: Make customfieldinstance soft delete, fix filepath when deleted (#8067)
This commit is contained in:
@@ -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 = (
|
||||
|
Reference in New Issue
Block a user