date_reverse view mode: take scoring into account

This commit is contained in:
Andrew Dolgov 2013-07-06 12:03:01 +04:00
parent 776b19536d
commit e9687f67e0
2 changed files with 2 additions and 2 deletions

View File

@ -203,7 +203,7 @@ class API extends Handler {
$override_order = false;
switch ($_REQUEST["order_by"]) {
case "date_reverse":
$override_order = "date_entered, updated";
$override_order = "score DESC, date_entered, updated";
break;
case "feed_dates":
$override_order = "updated DESC";

View File

@ -863,7 +863,7 @@ class Feeds extends Handler_Protected {
$override_order = "ttrss_entries.title";
break;
case "date_reverse":
$override_order = "date_entered, updated";
$override_order = "score DESC, date_entered, updated";
break;
case "feed_dates":
$override_order = "updated DESC";