mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-28 03:16:25 -06:00
Fixes #16806: Fix redirect URL when creating contact assignments with "add another" button
This commit is contained in:
parent
02d8f90537
commit
dc31db640a
@ -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'),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user