From dea879eb1606b6e79b5cff2a0505e071c06579cf Mon Sep 17 00:00:00 2001 From: Brice Maron Date: Thu, 8 Nov 2012 21:39:39 +0000 Subject: [PATCH] Bookmark: Load more tags for the autocomplete --- addBm.php | 2 +- index.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/addBm.php b/addBm.php index f56ebb4f..f2b44426 100644 --- a/addBm.php +++ b/addBm.php @@ -58,7 +58,7 @@ $bm = array('title'=> $title, ); //Find All Tags -$qtags = OC_Bookmarks_Bookmarks::findTags(); +$qtags = OC_Bookmarks_Bookmarks::findTags(array(), 0, 400); $tags = array(); foreach($qtags as $tag) { $tags[] = $tag['tag']; diff --git a/index.php b/index.php index 66892f82..751e3b17 100644 --- a/index.php +++ b/index.php @@ -38,7 +38,7 @@ OCP\Util::addscript('bookmarks', 'addBm'); OCP\Util::addscript('bookmarks/3rdparty', 'tag-it'); OCP\Util::addscript('bookmarks/3rdparty', 'js_tpl'); OCP\Util::addStyle('bookmarks/3rdparty', 'jquery.tagit'); -$qtags = OC_Bookmarks_Bookmarks::findTags(); +$qtags = OC_Bookmarks_Bookmarks::findTags(array(), 0, 400); $tags = array(); foreach($qtags as $tag) {