plugins/kolab_addressbook
Aleksander Machniak
machniak at kolabsys.com
Tue Oct 15 12:37:40 CEST 2013
plugins/kolab_addressbook/lib/rcube_kolab_contacts.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit e389c314a5562535ed81d7cb91debdc7e1473bbc
Author: Aleksander Machniak <machniak at kolabsys.com>
Date: Tue Oct 15 12:36:10 2013 +0200
Always call kolab_storage_folder::count() with an argument, do not depend
on internal implementation when it is known what type is needed
diff --git a/plugins/kolab_addressbook/lib/rcube_kolab_contacts.php b/plugins/kolab_addressbook/lib/rcube_kolab_contacts.php
index 13c7740..674f859 100644
--- a/plugins/kolab_addressbook/lib/rcube_kolab_contacts.php
+++ b/plugins/kolab_addressbook/lib/rcube_kolab_contacts.php
@@ -478,7 +478,7 @@ class rcube_kolab_contacts extends rcube_addressbook
$count = count($this->filter['ids']);
}
else {
- $count = $this->storagefolder->count();
+ $count = $this->storagefolder->count('contact');
}
return new rcube_result_set($count, ($this->list_page-1) * $this->page_size);
More information about the commits
mailing list