]> git.wh0rd.org Git - tt-rss.git/commitdiff
default headline sort order by date_entered instead of updated
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Wed, 27 Oct 2010 08:10:14 +0000 (12:10 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Wed, 27 Oct 2010 08:10:14 +0000 (12:10 +0400)
functions.php

index 981923573e4f5f3b510946281dac6dbe27cb1c20..e18b023533da1ad177333f93beaae2ecaac189b3 100644 (file)
                        }
 
                        if (get_pref($link, 'REVERSE_HEADLINES', $owner_uid)) {
-                               $order_by = "updated";
+                               $order_by = "date_entered";
                        } else {        
-                               $order_by = "updated DESC";
+                               $order_by = "date_entered DESC";
                        }
 
                        if ($view_mode != "noscores") {
                                }
 
                                $query = "SELECT DISTINCT 
-                                               date_updated,
+                                               date_entered,
                                                guid,
                                                ttrss_entries.id,ttrss_entries.title,
                                                updated,