forked from extern/egroupware
bugfix: old vars names still there. The ProcessMonitor workflow ui wasn't able to show number of activities per processes. pId->wf_p_id
This commit is contained in:
parent
d16625797f
commit
9d9de69793
@ -154,9 +154,9 @@ class ProcessMonitor extends Base {
|
|||||||
group by wf_p_id";
|
group by wf_p_id";
|
||||||
$result = $this->query($query);
|
$result = $this->query($query);
|
||||||
while($res = $result->fetchRow()) {
|
while($res = $result->fetchRow()) {
|
||||||
$pId = $res['pId'];
|
$pId = $res['wf_p_id'];
|
||||||
if (!isset($ret[$pId])) continue;
|
if (!isset($ret[$pId])) continue;
|
||||||
$ret[$pId]['activities'] = $res['num_activities'];
|
$ret[$pId]['wf_activities'] = $res['num_activities'];
|
||||||
}
|
}
|
||||||
$retval = Array();
|
$retval = Array();
|
||||||
$retval["data"] = $ret;
|
$retval["data"] = $ret;
|
||||||
@ -175,7 +175,7 @@ class ProcessMonitor extends Base {
|
|||||||
$bindvars = array();
|
$bindvars = array();
|
||||||
}
|
}
|
||||||
if($where) {
|
if($where) {
|
||||||
$where = preg_replace('/pId/', 'ga.pId', $where);
|
$where = preg_replace('/pId/', 'ga.wf_p_id', $where);
|
||||||
if($mid) {
|
if($mid) {
|
||||||
$mid.= " and ($where) ";
|
$mid.= " and ($where) ";
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user