mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-10-08 00:57:14 +00:00
Fix: use hard delete when bulk editing custom fields (#8740)
This commit is contained in:
1 parent
49a96ccee0
commit
765bf1d11c
1 file changed
+1
-1
@@ -180,7 +180,7 @@ def modify_custom_fields(
|
||||
CustomFieldInstance.objects.filter(
|
||||
document_id__in=affected_docs,
|
||||
field_id__in=remove_custom_fields,
|
||||
).delete()
|
||||
).hard_delete()
|
||||
|
||||
bulk_update_documents.delay(document_ids=affected_docs)
|
||||
|
||||
|
||||
Reference in new issue
Block a user