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.

This commit is contained in:
friendica 2014-03-10 23:45:48 -07:00
parent 403a0fa158
commit 09dde2810c

View File

@ -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);