summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2006-08-01 05:52:32 +0100
committerAndrew Dolgov <[email protected]>2006-08-01 05:52:32 +0100
commitd6e5706d7e127c747a9ff4dd092676fadf616af3 (patch)
tree922019d07af1d949a7a4f12820146bc3aefe11f0 /functions.php
parentb788b632415181c17f12b6b28022c7417c694f5f (diff)
new option: REVERSE_HEADLINES (closes #97)
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 = "";