]> git.wh0rd.org Git - tt-rss.git/commitdiff
override order use date_entered instead of updated
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Wed, 27 Oct 2010 08:06:26 +0000 (12:06 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Wed, 27 Oct 2010 08:06:26 +0000 (12:06 +0400)
backend.php

index 4b2202ce8f761fdff0f6a09f7aff17a0946d94c0..06c1ecbd96b20080c6581be1dbfddb41b0c349ed 100644 (file)
                        switch ($order_by) {
                                case "date":
                                        if (get_pref($link, 'REVERSE_HEADLINES', $owner_uid)) {
-                                               $override_order = "date_updated";
+                                               $override_order = "date_entered";
                                        } else {        
-                                               $override_order = "date_updated DESC";
+                                               $override_order = "date_entered DESC";
                                        }
                                        break;
 
                                case "title":
                                        if (get_pref($link, 'REVERSE_HEADLINES', $owner_uid)) {
-                                               $override_order = "title DESC, updated";
+                                               $override_order = "title DESC, date_entered";
                                        } else {
-                                               $override_order = "title, updated DESC";
+                                               $override_order = "title, date_entered DESC";
                                        }
                                        break;
 
                                case "score":
                                        if (get_pref($link, 'REVERSE_HEADLINES', $owner_uid)) {
-                                               $override_order = "score, updated";
+                                               $override_order = "score, date_entered";
                                        } else {
-                                               $override_order = "score DESC, updated DESC";
+                                               $override_order = "score DESC, date_entered DESC";
                                        }
                                        break;
                        }