HOR-2307
This commit is contained in:
@@ -21,7 +21,7 @@ class User extends Api
|
||||
* @class AccessControl {@permission PM_USERS,PM_FACTORY}
|
||||
* @url GET
|
||||
*/
|
||||
public function index($filter = null, $lfilter = null, $rfilter = null, $start = null, $limit = null)
|
||||
public function index($filter = null, $lfilter = null, $rfilter = null, $start = null, $limit = null, $status = null)
|
||||
{
|
||||
try {
|
||||
$user = new \ProcessMaker\BusinessModel\User();
|
||||
@@ -32,7 +32,7 @@ class User extends Api
|
||||
"filterOption" => (!is_null($filter))? "" : ((!is_null($lfilter))? "LEFT" : ((!is_null($rfilter))? "RIGHT" : ""))
|
||||
);
|
||||
|
||||
$response = $user->getUsers($arrayFilterData, null, null, $start, $limit, false);
|
||||
$response = $user->getUsers($arrayFilterData, null, null, $start, $limit, false, true, $status);
|
||||
|
||||
return \ProcessMaker\Util\DateTime::convertUtcToIso8601($response['data'], $this->arrayFieldIso8601);
|
||||
} catch (\Exception $e) {
|
||||
|
||||
Reference in New Issue
Block a user