From 20d3aa2e77e4ba4c12d2a7332c7ac5f3a8f6b635 Mon Sep 17 00:00:00 2001 From: Friendika Date: Mon, 4 Jul 2011 20:57:07 -0700 Subject: community page --- mod/search.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'mod/search.php') diff --git a/mod/search.php b/mod/search.php index c20d1274e..d6ab1bb60 100644 --- a/mod/search.php +++ b/mod/search.php @@ -79,9 +79,12 @@ function search_content(&$a) { OR `item`.`uid` = %d ) AND `contact`.`blocked` = 0 AND `contact`.`pending` = 0 AND `profile`.`is-default` = 1 $search_alg - ORDER BY `parent` DESC ", + ORDER BY `received` DESC LIMIT %d , %d ", intval(local_user()), - dbesc($search) + dbesc($search), + intval($a->pager['start']), + intval($a->pager['itemspage']) + ); -- cgit v1.2.3