From a6b4518788d623bb2253f982146498af3d72e9ae Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 28 Dec 2012 00:49:54 +0400 Subject: add _MOBILE_REVERSE_HEADLINES (closes #524) --- mobile/mobile-functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mobile/mobile-functions.php') diff --git a/mobile/mobile-functions.php b/mobile/mobile-functions.php index ffd7ba80d..65bba55df 100644 --- a/mobile/mobile-functions.php +++ b/mobile/mobile-functions.php @@ -349,7 +349,7 @@ $qfh_ret = queryFeedHeadlines($link, $feed_id, $limit, $view_mode, $is_cat, $search, $search_mode, $match_on, - "score DESC, date_entered DESC", $offset); + "score DESC, date_entered ".(mobile_get_pref($link, 'REVERSE_HEADLINES') ? 'ASC' : 'DESC'), $offset); $result = $qfh_ret[0]; $feed_title = $qfh_ret[1]; -- cgit v1.2.3