summaryrefslogtreecommitdiff
path: root/plugins/kolab_tags/lib/kolab_tags_backend.php
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/kolab_tags/lib/kolab_tags_backend.php')
-rw-r--r--plugins/kolab_tags/lib/kolab_tags_backend.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/kolab_tags/lib/kolab_tags_backend.php b/plugins/kolab_tags/lib/kolab_tags_backend.php
index 032215d..519f962 100644
--- a/plugins/kolab_tags/lib/kolab_tags_backend.php
+++ b/plugins/kolab_tags/lib/kolab_tags_backend.php
@@ -43,7 +43,9 @@ class kolab_tags_backend
$filter[] = array('type', '=', self::O_TYPE);
$cat_filter = array('category' => self::O_CATEGORY);
- return $config->get_objects($filter, $default, $cat_filter);
+ // for performance reasons assume there will be no more than 100 tags (per-folder)
+
+ return $config->get_objects($filter, $default, $cat_filter, 100);
}
/**