mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
N°7484 - "autoresolve" Parent-Child now supports Friendlyname customization
This commit is contained in:
@@ -1257,7 +1257,7 @@
|
||||
$this->Set('team_id', $oParentTicket->Get('team_id'));
|
||||
$this->Set('agent_id', $oParentTicket->Get('agent_id'));
|
||||
}
|
||||
$sParent = '[['.get_class($oParentTicket).':'.$oParentTicket->Get('ref').']]';
|
||||
$sParent = '[['.get_class($oParentTicket).':'.$oParentTicket->GetKey().'|'.$oParentTicket->Get('ref').']]';
|
||||
$this->Set('solution', Dict::Format('Tickets:ResolvedFrom', $sParent, MetaModel::GetName(get_class($oParentTicket))));
|
||||
$this->ApplyStimulus('ev_autoresolve');
|
||||
$this->DBUpdate();
|
||||
|
||||
@@ -1388,7 +1388,7 @@
|
||||
$this->Set('team_id', $oParentTicket->Get('team_id'));
|
||||
$this->Set('agent_id', $oParentTicket->Get('agent_id'));
|
||||
}
|
||||
$sParent = '[['.get_class($oParentTicket).':'.$oParentTicket->Get('ref').']]';
|
||||
$sParent = '[['.get_class($oParentTicket).':'.$oParentTicket->GetKey().'|'.$oParentTicket->Get('ref').']]';
|
||||
$this->Set('solution', Dict::Format('Tickets:ResolvedFrom', $sParent, MetaModel::GetName(get_class($oParentTicket))));
|
||||
$this->ApplyStimulus('ev_autoresolve');
|
||||
$this->DBUpdate();
|
||||
|
||||
@@ -1430,7 +1430,7 @@
|
||||
$this->Set('team_id', $oParentTicket->Get('team_id'));
|
||||
$this->Set('agent_id', $oParentTicket->Get('agent_id'));
|
||||
}
|
||||
$sParent = '[['.get_class($oParentTicket).':'.$oParentTicket->Get('ref').']]';
|
||||
$sParent = '[['.get_class($oParentTicket).':'.$oParentTicket->GetKey().'|'.$oParentTicket->Get('ref').']]';
|
||||
$this->Set('solution', Dict::Format('Tickets:ResolvedFrom', $sParent, MetaModel::GetName(get_class($oParentTicket))));
|
||||
$this->ApplyStimulus('ev_autoresolve');
|
||||
$this->DBUpdate();
|
||||
|
||||
Reference in New Issue
Block a user