mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2025-06-19 17:18:23 +02:00
Include custom fields in public ticket form
This commit is contained in:
parent
aadfe08504
commit
810184298f
@ -342,6 +342,8 @@ class PublicTicketForm(AbstractTicketForm):
|
|||||||
Add any (non-staff) custom fields that are defined to the form
|
Add any (non-staff) custom fields that are defined to the form
|
||||||
"""
|
"""
|
||||||
super(PublicTicketForm, self).__init__(*args, **kwargs)
|
super(PublicTicketForm, self).__init__(*args, **kwargs)
|
||||||
|
self._add_form_custom_fields(False)
|
||||||
|
|
||||||
field_hide_table = {
|
field_hide_table = {
|
||||||
'queue': 'HELPDESK_PUBLIC_TICKET_QUEUE',
|
'queue': 'HELPDESK_PUBLIC_TICKET_QUEUE',
|
||||||
'priority': 'HELPDESK_PUBLIC_TICKET_PRIORITY',
|
'priority': 'HELPDESK_PUBLIC_TICKET_PRIORITY',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user