diff options
author | pafcu <pafcu@iki.fi> | 2015-01-08 18:25:38 +0200 |
---|---|---|
committer | pafcu <pafcu@iki.fi> | 2015-01-08 18:25:38 +0200 |
commit | 80c77b7f92af72dd6518ef768c0cc0c31e82bb26 (patch) | |
tree | b7a133bb500fe497ebefff0762ab6472f2fb698c /mod/acl.php | |
parent | a2e43ae1723b10806e1df77a673331104cf39d1a (diff) | |
parent | 32c6eab01c820c0ab44aa1b8860bf3173061e4e2 (diff) | |
download | volse-hubzilla-80c77b7f92af72dd6518ef768c0cc0c31e82bb26.tar.gz volse-hubzilla-80c77b7f92af72dd6518ef768c0cc0c31e82bb26.tar.bz2 volse-hubzilla-80c77b7f92af72dd6518ef768c0cc0c31e82bb26.zip |
Merge pull request #833 from pafcu/oneautocompleter
Fixes for the new autocompletion
Diffstat (limited to 'mod/acl.php')
-rw-r--r-- | mod/acl.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/acl.php b/mod/acl.php index f575db55b..d406942c3 100644 --- a/mod/acl.php +++ b/mod/acl.php @@ -293,9 +293,10 @@ function navbar_complete(&$a) { $url = $directory['url'] . '/dirsearch'; } + $count = (x($_REQUEST,'count')?$_REQUEST['count']:100); if($url) { $query = $url . '?f=' ; - $query .= '&name=' . urlencode($search) . '&limit=50' . (($address) ? '&address=' . urlencode($search) : ''); + $query .= '&name=' . urlencode($search) . "&limit=$count" . (($address) ? '&address=' . urlencode($search) : ''); $x = z_fetch_url($query); if($x['success']) { |