This commit is contained in:
hjonathan
2017-07-27 12:22:22 -04:00
parent 726319e799
commit 9376388c23
2 changed files with 3 additions and 4 deletions

View File

@@ -1631,8 +1631,7 @@ class User
$oCriteria->setLimit($limit);
$oDataset = \UsersPeer::DoSelectRs($oCriteria);
$oDataset->setFetchmode(\ResultSet::FETCHMODE_ASSOC);
return $oDataset;
return array("data" => $oDataset, "totalRows" => $totalRows);
}
/**
* This function get additional information related to the user