Fixed global search alerts when db engine is oracle. Tiquet: #2651

This commit is contained in:
m-lopez-f 2015-08-31 12:14:32 +02:00
parent 53f029b2d6
commit 6db4c59c3c
1 changed files with 3 additions and 4 deletions

View File

@ -168,11 +168,10 @@ if($searchAlerts) {
break;
}
$alertsraw = agents_get_alerts_simple($agents, "all_enabled",
$alertsraw = agents_get_alerts_simple(false, "all_enabled",
array('offset' => get_parameter ('offset', 0),
'limit' => $config['block_size'],
'order' => $order['field'] . " " . $order['order']),
$whereAlerts);
'limit' => $config['block_size']), $whereAlerts, false,
$order['field'] . " " . $order['order']);
$stringSearchPHP = substr($stringSearchSQL,1,strlen($stringSearchSQL)-2);