In my Xodus addon I am using the modObjectGetListProcessor class to return a list of users in a particular group. However the class seems to be limiting the results to 20. I have tried to remove this limit in the prepareQueryBeforeCount method to no avail.
public function prepareQueryBeforeCount(xPDOQuery $c) {
$usergroup = (int)$this->getProperty('group',0);
$c->innerJoin ('modUserProfile','Profile');
$c->innerJoin ('modUserGroupMember','UserGroupMembers');
$c->innerJoin ('modUserGroup','UserGroup','`UserGroupMembers`.`user_group` = `UserGroup`.`id`');
$c->leftJoin ('modUserGroupRole','UserGroupRole','`UserGroupMembers`.`role` = `UserGroupRole`.`id`');
$c->where(array(
'active' => true,
'UserGroupMembers.user_group' => $usergroup,
));
$c->select(array('modUser.id','modUser.username','modUser.password'));
$c->limit(0);
return $c;
}
My question therefore is, is it possible to remove this limit with the list processor and if so, how?