stopgap solution until somebody implements endless scroll on the directory

This commit is contained in:
friendica 2014-03-04 19:34:04 -08:00
parent c43a7783c8
commit 4da73d7d84

View File

@ -99,7 +99,7 @@ function dirsearch_content(&$a) {
$perpage = (($_REQUEST['n']) ? $_REQUEST['n'] : 80);
$perpage = (($_REQUEST['n']) ? $_REQUEST['n'] : 300);
$page = (($_REQUEST['p']) ? intval($_REQUEST['p'] - 1) : 0);
$startrec = (($page+1) * $perpage) - $perpage;
$limit = (($_REQUEST['limit']) ? intval($_REQUEST['limit']) : 0);