diff options
author | Andrew Dolgov <[email protected]> | 2012-12-28 00:49:54 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2012-12-28 00:49:54 +0400 |
commit | a6b4518788d623bb2253f982146498af3d72e9ae (patch) | |
tree | 2e58f835fbf5c95cfb6de9d6ec8036c83063259a /mobile/mobile-functions.php | |
parent | bc230f3fde779e7f4b45c2c40ef803061e6e7227 (diff) |
add _MOBILE_REVERSE_HEADLINES (closes #524)
Diffstat (limited to 'mobile/mobile-functions.php')
-rw-r--r-- | mobile/mobile-functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
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]; |