diff options
author | friendica <info@friendica.com> | 2014-03-10 23:45:48 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-03-10 23:47:45 -0700 |
commit | 09dde2810cc1f6c8da95013e1b995cf4068d2d46 (patch) | |
tree | fcb4dba5677a0e589b0856e8e1b4b6014b07f9bb | |
parent | 403a0fa1589896a6acff3971077818333ffec45f (diff) | |
download | volse-hubzilla-09dde2810cc1f6c8da95013e1b995cf4068d2d46.tar.gz volse-hubzilla-09dde2810cc1f6c8da95013e1b995cf4068d2d46.tar.bz2 volse-hubzilla-09dde2810cc1f6c8da95013e1b995cf4068d2d46.zip |
failed experiment - revert the directory to 80 results per page until somebody implements endless scroll on the thing. 300 takes far too long to load all the images.
-rw-r--r-- | mod/dirsearch.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/dirsearch.php b/mod/dirsearch.php index 020d08c12..801be6189 100644 --- a/mod/dirsearch.php +++ b/mod/dirsearch.php @@ -121,7 +121,7 @@ function dirsearch_content(&$a) { } - $perpage = (($_REQUEST['n']) ? $_REQUEST['n'] : 300); + $perpage = (($_REQUEST['n']) ? $_REQUEST['n'] : 80); $page = (($_REQUEST['p']) ? intval($_REQUEST['p'] - 1) : 0); $startrec = (($page+1) * $perpage) - $perpage; $limit = (($_REQUEST['limit']) ? intval($_REQUEST['limit']) : 0); |