summaryrefslogtreecommitdiff
path: root/mobile/mobile-functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2012-12-28 09:39:35 +0400
committerAndrew Dolgov <[email protected]>2012-12-28 09:39:35 +0400
commit43e706238a78633edb684c2e3b08260b1a91b149 (patch)
tree80110ed832b8f300456f8af837aef98f33e0003b /mobile/mobile-functions.php
parenta83b58f16d4a2d2c748df1435e0f26d8a89e4f5d (diff)
parente236d8763e6b1c16794668d5897dc797938cd41f (diff)
Merge branch 'master' of github.com:gothfox/Tiny-Tiny-RSS
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];