aboutsummaryrefslogtreecommitdiffstats
path: root/mod/dirsearch.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-03-10 23:45:48 -0700
committerfriendica <info@friendica.com>2014-03-10 23:47:45 -0700
commit09dde2810cc1f6c8da95013e1b995cf4068d2d46 (patch)
treefcb4dba5677a0e589b0856e8e1b4b6014b07f9bb /mod/dirsearch.php
parent403a0fa1589896a6acff3971077818333ffec45f (diff)
downloadvolse-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.
Diffstat (limited to 'mod/dirsearch.php')
-rw-r--r--mod/dirsearch.php2
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);