mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-29 11:09:27 -05:00
Actually this should change too
This commit is contained in:
parent
af476622af
commit
ef5e733011
@ -1059,7 +1059,7 @@ class BulkEditView(PassUserMixin):
|
|||||||
return HttpResponseForbidden("Insufficient permissions")
|
return HttpResponseForbidden("Insufficient permissions")
|
||||||
|
|
||||||
try:
|
try:
|
||||||
modified_field = self.MODIFIED_FIELD_BY_METHOD[method.__name__]
|
modified_field = self.MODIFIED_FIELD_BY_METHOD.get(method.__name__, None)
|
||||||
if settings.AUDIT_LOG_ENABLED and modified_field:
|
if settings.AUDIT_LOG_ENABLED and modified_field:
|
||||||
old_documents = {
|
old_documents = {
|
||||||
obj["pk"]: obj
|
obj["pk"]: obj
|
||||||
|
Loading…
x
Reference in New Issue
Block a user