summaryrefslogtreecommitdiff
path: root/mobile/mobile-functions.php
diff options
context:
space:
mode:
Diffstat (limited to 'mobile/mobile-functions.php')
-rw-r--r--mobile/mobile-functions.php2
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];