599
$sql = "select h.host,t.triggerid,t.description,t.priority,t.status,count(d.triggerid_up) as dep_count ".
599
$sql = "select h.host,t.triggerid,t.description,t.expression,t.priority,t.status,count(d.triggerid_up) as dep_count ".
600
600
" from hosts h,items i,functions f, triggers t left join trigger_depends d on d.triggerid_down=t.triggerid ".
601
601
" where f.itemid=i.itemid and h.hostid=i.hostid and t.triggerid=f.triggerid".
602
602
' and '.DBin_node('t.triggerid', $nodeid).