1
0
mirror of https://github.com/owncloud/bookmarks.git synced 2025-02-02 02:52:10 +01:00

Merge pull request #111 from TtuxX/master

Remove the bookmarks 10 tags display limit/bug
This commit is contained in:
Thomas Müller 2014-12-15 13:34:06 +01:00
commit a62c9a16da

View File

@ -39,7 +39,7 @@ class Bookmarks {
* @param limit integer of item to return * @param limit integer of item to return
* @return Found Tags * @return Found Tags
*/ */
public static function findTags($userId, IDb $db, $filterTags = array(), $offset = 0, $limit = 10) { public static function findTags($userId, IDb $db, $filterTags = array(), $offset = 0, $limit = -1) {
$params = array_merge($filterTags, $filterTags); $params = array_merge($filterTags, $filterTags);
array_unshift($params, $userId); array_unshift($params, $userId);
$not_in = ''; $not_in = '';