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

Remove the bookmark tags display limit

Set the limit from 10 (original default value) to -1 (load all the tags you ever created)
This commit is contained in:
TtuxX 2014-12-09 00:19:08 +01:00
parent a6daccdd88
commit a35e9d9c39

View File

@ -39,7 +39,7 @@ class Bookmarks {
* @param limit integer of item to return
* @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);
array_unshift($params, $userId);
$not_in = '';