Skip to content

Commit

Permalink
fix(core): return correct redirect path for related ticket form
Browse files Browse the repository at this point in the history
  • Loading branch information
jon-nfc committed Aug 30, 2024
1 parent 95979c6 commit 1665e51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/core/views/related_ticket.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def get_success_url(self, **kwargs):

if self.kwargs['ticket_type'] == 'request':

return reverse('Assistance:_ticket_request_view', args=(self.kwargs['ticket_type'],self.object.id,))
return reverse('Assistance:_ticket_request_view', args=(self.kwargs['ticket_type'],self.kwargs['ticket_id'],))

else:

Expand Down

0 comments on commit 1665e51

Please sign in to comment.