diff options
author | Andrew Dolgov <[email protected]> | 2006-08-01 05:52:32 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2006-08-01 05:52:32 +0100 |
commit | d6e5706d7e127c747a9ff4dd092676fadf616af3 (patch) | |
tree | 922019d07af1d949a7a4f12820146bc3aefe11f0 /functions.php | |
parent | b788b632415181c17f12b6b28022c7417c694f5f (diff) |
new option: REVERSE_HEADLINES (closes #97)
Diffstat (limited to 'functions.php')
-rw-r--r-- | functions.php | 8 |
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 = ""; |