#838 following on the bug fix: more standard naming for the parameters of the query

SVN:trunk[3008]
This commit is contained in:
Denis Flaven
2013-11-29 11:38:51 +00:00
parent 92502a7a88
commit 60e7c22ab4
2 changed files with 6 additions and 8 deletions

View File

@@ -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;