Merged in feature/HOR-2440 (pull request #5485)
Feature/HOR-2440 Approved-by: Julio Cesar Laura Avendaño
This commit is contained in:
@@ -201,7 +201,7 @@ class Lists {
|
||||
}
|
||||
|
||||
if ($total) {
|
||||
$total = $list->countTotal($userUid, $filters);
|
||||
$total = $list->getCountList($userUid, $filters);
|
||||
return $total;
|
||||
}
|
||||
|
||||
@@ -249,7 +249,7 @@ class Lists {
|
||||
$response['filters'] = $filtersData;
|
||||
$response['data'] = $result;
|
||||
$filtersData['action'] = $filters["action"];
|
||||
$response['totalCount'] = $list->countTotal($userUid, $filtersData);
|
||||
$response['totalCount'] = $list->getCountList($userUid, $filtersData);
|
||||
} else {
|
||||
$response = $result;
|
||||
}
|
||||
@@ -267,8 +267,8 @@ class Lists {
|
||||
$response = array();
|
||||
foreach ($list as $listObject => $item) {
|
||||
switch ($listObject) {
|
||||
case 'ListInbox':
|
||||
$total = $this->$listObject->getCountList($userId, 'TO_DO');
|
||||
case 'ListDraft':
|
||||
$total = $this->$listObject->getCountList($userId, array('action'=>'draft'));
|
||||
array_push($response, (array('count' => $total, 'item' => $item)));
|
||||
break;
|
||||
/*----------------------------------********---------------------------------*/
|
||||
|
||||
@@ -36,7 +36,7 @@ class ProcessDefinitionMigrator implements Importable, Exportable
|
||||
{
|
||||
try {
|
||||
//Bpmn elements
|
||||
$pjrUid = $this->bpmn->createFromStruct($data['bpmn'], false);
|
||||
$pjrUid = $this->bpmn->createFromStruct($data['bpmn'], false, $data);
|
||||
//Import workflow elements
|
||||
} catch (\Exception $e) {
|
||||
$exception = new ImportException($e->getMessage());
|
||||
|
||||
Reference in New Issue
Block a user