Fixes #16806: Fix redirect URL when creating contact assignments with "add another" button

This commit is contained in:
Jeremy Stretch 2024-07-04 08:50:22 -04:00
parent 02d8f90537
commit dc31db640a

View File

@ -365,7 +365,7 @@ class ContactAssignmentEditView(generic.ObjectEditView):
def get_extra_addanother_params(self, request): def get_extra_addanother_params(self, request):
return { return {
'content_type': request.GET.get('content_type'), 'object_type': request.GET.get('object_type'),
'object_id': request.GET.get('object_id'), 'object_id': request.GET.get('object_id'),
} }