New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix missing self service ticket form defaults #12473
Fix missing self service ticket form defaults #12473
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nothing to say on the entity part.
But for the default value part, maybe we can factorize this part in a dedicated method.
We have the same code repeated in all showFormXXX methods (Commonitilobjet::showForm, same for Ticket and now the helpdesk form)
55483aa
to
f0c95ec
Compare
the @cedric-anne opinion should be better before merge. |
When a ticket template is used in the self-service ticket creation form, multiple options are not set properly from the default values.
This PR fixes that and also changes how the
entities_id
is referenced within the template to match the regular ITIL Object form.