summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/functions.php b/functions.php
index 65b374e1b..e0f2cd5ee 100644
--- a/functions.php
+++ b/functions.php
@@ -2105,8 +2105,12 @@
} else {
$query_strategy_part = "id > 0"; // dumb
}
-
- $order_by = "updated DESC";
+
+ if (get_pref($link, 'REVERSE_HEADLINES')) {
+ $order_by = "updated";
+ } else {
+ $order_by = "updated DESC";
+ }
$feed_title = "";