Commit b49c0148 authored by Frank Bergmann's avatar Frank Bergmann

- fixed issue with escalated tickets for Versia

parent 87f0476d
Pipeline #296 failed with stages
......@@ -76,7 +76,7 @@ switch $action_id {
if {"" == $tid} { ad_returnredirect $return_url }
if {[llength $tid] > 1} { ad_return_complaint 1 "[lang::message::lookup "" intranet-helpdesk.Can_excalate_only_one_ticket "
We can escalate only one ticket at a time" ]" }
ad_returnredirect [export_vars -base "/intranet-helpdesk/new" {escalate_from_ticket_id $tid}]
ad_returnredirect [export_vars -base "/intranet-helpdesk/new" {{escalate_from_ticket_id $tid}}]
}
30552 {
# Close Escalated Tickets
......
......@@ -116,6 +116,9 @@ if {0 != $escalate_from_ticket_id} {
where t.ticket_id = p.project_id and
t.ticket_id = :escalate_from_ticket_id
"
# Escalation logic: The new ticket is always a "probem ticket" (or below)
set ticket_type_id [im_ticket_type_generic_problem_ticket]
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment