HOR-1587
This commit is contained in:
@@ -114,5 +114,15 @@ class AppThread extends BaseAppThread
|
||||
throw($oError);
|
||||
}
|
||||
}
|
||||
|
||||
public function countStatus($appUid, $status='OPEN'){
|
||||
$c = new Criteria('workflow');
|
||||
$c->clearSelectColumns();
|
||||
$c->addSelectColumn( AppThreadPeer::APP_THREAD_PARENT );
|
||||
$c->add(AppThreadPeer::APP_UID, $appUid );
|
||||
$c->add(AppThreadPeer::APP_THREAD_STATUS , $status );
|
||||
$cant = AppThreadPeer::doCount($c);
|
||||
return $cant;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user