mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2025-06-24 19:41:36 +02:00
Fix create ticket path
This commit is contained in:
parent
2ab22ca3cc
commit
6925aaaf38
@ -1283,8 +1283,7 @@ class CreateTicketView(
|
|||||||
|
|
||||||
def get_form_kwargs(self):
|
def get_form_kwargs(self):
|
||||||
kwargs = super().get_form_kwargs()
|
kwargs = super().get_form_kwargs()
|
||||||
extra = get_form_extra_kwargs(self.request.user)
|
kwargs["queue_choices"] = get_user_queues(self.request.user)
|
||||||
kwargs.update(extra)
|
|
||||||
return kwargs
|
return kwargs
|
||||||
|
|
||||||
def form_valid(self, form):
|
def form_valid(self, form):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user