Merge pull request #2132 from Jennydmz/BUG-13421

BUG-13421 Ordenamiento en el listado de procesos 'Designer'.
This commit is contained in:
julceslauhub
2013-11-12 05:20:36 -08:00
2 changed files with 14 additions and 3 deletions

View File

@@ -870,8 +870,11 @@ class Process extends BaseProcess
} else {
usort( $dataMemcache, array($this, "ordProcessDesc") );
}
$dataMemcache = array_splice($dataMemcache, $start, $limit);
return $dataMemcache;
$response = new stdclass();
$response->totalCount = count($dataMemcache);
$dataMemcache = array_splice($dataMemcache, $start, $limit);
$response->dataMemcache = $dataMemcache;
return $response;
}
public function ordProcessAsc ($a, $b)