diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-05-19 12:40:37 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-05-19 12:40:37 +0200 |
commit | 54a6ba47c070240a103c28259e45e682589cf73a (patch) | |
tree | 60f0e8bc2fd0e84b58c426141ab3b82c7f51c563 /core/js/share.js | |
parent | 5f4e0863f52631282176c0619b52e808408c4984 (diff) | |
parent | ca341a8d59caa62a72762166378aadb32d60236c (diff) | |
download | nextcloud-server-54a6ba47c070240a103c28259e45e682589cf73a.tar.gz nextcloud-server-54a6ba47c070240a103c28259e45e682589cf73a.zip |
Merge pull request #12401 from owncloud/add-limit-parameter-to-getSharewith
Remove hard coded limit of 15 from getShareWith
Diffstat (limited to 'core/js/share.js')
-rw-r--r-- | core/js/share.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/share.js b/core/js/share.js index 121ee97d17f..415fe41ef5f 100644 --- a/core/js/share.js +++ b/core/js/share.js @@ -491,7 +491,7 @@ OC.Share={ $('#shareWith').autocomplete({minLength: 2, delay: 750, source: function(search, response) { var $loading = $('#dropdown .shareWithLoading'); $loading.removeClass('hidden'); - $.get(OC.filePath('core', 'ajax', 'share.php'), { fetch: 'getShareWith', search: search.term.trim(), itemShares: OC.Share.itemShares, itemType: itemType }, function(result) { + $.get(OC.filePath('core', 'ajax', 'share.php'), { fetch: 'getShareWith', search: search.term.trim(), limit: 200, itemShares: OC.Share.itemShares, itemType: itemType }, function(result) { $loading.addClass('hidden'); if (result.status == 'success' && result.data.length > 0) { $( "#shareWith" ).autocomplete( "option", "autoFocus", true ); |