lib/api
Aleksander Machniak
machniak at kolabsys.com
Thu Apr 18 16:27:29 CEST 2013
lib/api/kolab_api_service_form_value.php | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit 8ebe838f947be187616f5b97cee14d05b80f46ac
Author: Aleksander Machniak <alec at alec.pl>
Date: Thu Apr 18 16:26:30 2013 +0200
Fix bug where list of group members was limited to 10 (default page_size), the same
issue was for other list_options_*() methods
diff --git a/lib/api/kolab_api_service_form_value.php b/lib/api/kolab_api_service_form_value.php
index 8003173..078f334 100644
--- a/lib/api/kolab_api_service_form_value.php
+++ b/lib/api/kolab_api_service_form_value.php
@@ -839,6 +839,7 @@ class kolab_api_service_form_value extends kolab_api_service
{
// return specified records only, by exact DN attributes
if (!empty($postdata['list'])) {
+ $data['page_size'] = count($postdata['list']);
$data['search'] = array(
'entrydn' => array(
'value' => $postdata['list'],
@@ -889,6 +890,7 @@ class kolab_api_service_form_value extends kolab_api_service
{
// return specified records only, by exact DN attributes
if (!empty($postdata['list'])) {
+ $data['page_size'] = count($postdata['list']);
$data['search'] = array(
'entrydn' => array(
'value' => $postdata['list'],
@@ -1158,6 +1160,7 @@ class kolab_api_service_form_value extends kolab_api_service
{
// return specified records only, by exact DN attributes
if (!empty($postdata['list'])) {
+ $data['page_size'] = count($postdata['list']);
$data['search'] = array(
'params' => array(
'entrydn' => array(
@@ -1224,6 +1227,7 @@ class kolab_api_service_form_value extends kolab_api_service
{
// return specified records only, by exact DN attributes
if (!empty($postdata['list'])) {
+ $data['page_size'] = count($postdata['list']);
$data['search'] = array(
'entrydn' => array(
'value' => $postdata['list'],
More information about the commits
mailing list