mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-19 23:32:17 +02:00
#838 following on the bug fix: more standard naming for the parameters of the query
SVN:trunk[3008]
This commit is contained in:
@@ -41,17 +41,15 @@ class ResponseTicketSLT
|
||||
{
|
||||
$sRequestType = $oTicket->Get('request_type');
|
||||
}
|
||||
|
||||
$aArgs = $oTicket->ToArgs();
|
||||
$aArgs['metric'] = $sMetric;
|
||||
$aArgs['request_type'] = $sRequestType;
|
||||
|
||||
//echo "<p>Managing:".$sMetric."-".$this->Get('request_type')."-".$this->Get('importance')."</p>\n";
|
||||
$oSLTSet = new DBObjectSet(DBObjectSearch::FromOQL(RESPONSE_TICKET_SLT_QUERY),
|
||||
array(),
|
||||
array(
|
||||
'metric' => $sMetric,
|
||||
'service' => $oTicket->Get('service_id'),
|
||||
'customer' => $oTicket->Get('org_id'),
|
||||
'request_type' => $sRequestType,
|
||||
'priority' => $oTicket->Get('priority'),
|
||||
)
|
||||
$aArgs
|
||||
);
|
||||
|
||||
$iMinDuration = PHP_INT_MAX;
|
||||
|
||||
Reference in New Issue
Block a user