-
Notifications
You must be signed in to change notification settings - Fork 33
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 ola disabling after esaclation #268
base: main
Are you sure you want to change the base?
Conversation
front/ticket.form.php
Outdated
@@ -86,7 +86,8 @@ | |||
// Sanitize before merging with $_POST['comment'] which is already sanitized | |||
'content' => Sanitizer::sanitize( | |||
'<p><i>' . sprintf(__('Escalation to the group %s.', 'escalade'), Sanitizer::unsanitize($group->getName())) . '</i></p><hr />' | |||
) . $_POST['comment'] | |||
) . $_POST['comment'], | |||
'_do_not_compute_takeintoaccount' => true |
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.
A dedicated option should be creating from config page to compute or not TTO after escalation, because actually TTO is computed (and the community never complains).
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.
Yes, an option that will have to take into account that it will only work with a certain version of GLPI (probably 10.0.18).
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.
See comment
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.
look good to me
Can you ask the customer to test (with GLPI PR too)? |
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.
Waiting customer feedback
Checklist before requesting a review
Please delete options that are not relevant.
Description
Passing the _do_not_compute_takeintoaccount option at the end of a task so as not to trigger the end of SLA / OLA TTOs
Screenshots (if appropriate):