mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-31 13:58:04 -06:00
Compare commits
2 Commits
feature-ac
...
de12023311
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
de12023311 | ||
|
|
60ebdc0ad6 |
@@ -1021,7 +1021,7 @@ def run_workflows(
|
|||||||
|
|
||||||
if action.remove_all_custom_fields:
|
if action.remove_all_custom_fields:
|
||||||
if not use_overrides:
|
if not use_overrides:
|
||||||
CustomFieldInstance.objects.filter(document=document).delete()
|
CustomFieldInstance.objects.filter(document=document).hard_delete()
|
||||||
else:
|
else:
|
||||||
overrides.custom_fields = None
|
overrides.custom_fields = None
|
||||||
elif action.remove_custom_fields.exists():
|
elif action.remove_custom_fields.exists():
|
||||||
@@ -1029,7 +1029,7 @@ def run_workflows(
|
|||||||
CustomFieldInstance.objects.filter(
|
CustomFieldInstance.objects.filter(
|
||||||
field__in=action.remove_custom_fields.all(),
|
field__in=action.remove_custom_fields.all(),
|
||||||
document=document,
|
document=document,
|
||||||
).delete()
|
).hard_delete()
|
||||||
elif overrides.custom_fields:
|
elif overrides.custom_fields:
|
||||||
for field in action.remove_custom_fields.filter(
|
for field in action.remove_custom_fields.filter(
|
||||||
pk__in=overrides.custom_fields.keys(),
|
pk__in=overrides.custom_fields.keys(),
|
||||||
|
|||||||
@@ -363,7 +363,7 @@ urlpatterns = [
|
|||||||
|
|
||||||
|
|
||||||
websocket_urlpatterns = [
|
websocket_urlpatterns = [
|
||||||
path(settings.BASE_URL.lstrip("/") + "ws/status/", StatusConsumer.as_asgi()),
|
path("ws/status/", StatusConsumer.as_asgi()),
|
||||||
]
|
]
|
||||||
|
|
||||||
# Text in each page's <h1> (and above login form).
|
# Text in each page's <h1> (and above login form).
|
||||||
|
|||||||
Reference in New Issue
Block a user