diff options
author | Andrew Dolgov <[email protected]> | 2008-05-04 04:45:39 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2008-05-04 04:45:39 +0100 |
commit | 48b0c4ec7ec4bb0d68fab059e6b36d0e6faaa42f (patch) | |
tree | b27d2efba3a49ca602959e236fd1ba04a348d10b /functions.php | |
parent | a82dc5e490e0885f128ebbdf586dc9177ab8188c (diff) |
order headlines by score
Diffstat (limited to 'functions.php')
-rw-r--r-- | functions.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/functions.php b/functions.php index 180d021bf..2366ce9c4 100644 --- a/functions.php +++ b/functions.php @@ -3185,6 +3185,8 @@ $order_by = "updated DESC"; } + $order_by = "score DESC, $order_by"; + if ($override_order) { $order_by = $override_order; } |