instead of taking batch timestamp and score (?) into account, make oldest first sorting work consistently with newest first - i.e. rely on feed-provided timestamp
This commit is contained in:
parent
05a47e5cf4
commit
48be005774
|
@ -222,7 +222,7 @@ class API extends Handler {
|
|||
$override_order = "ttrss_entries.title, date_entered, updated";
|
||||
break;
|
||||
case "date_reverse":
|
||||
$override_order = "score DESC, date_entered, updated";
|
||||
$override_order = "updated";
|
||||
$skip_first_id_check = true;
|
||||
break;
|
||||
case "feed_dates":
|
||||
|
|
|
@ -537,7 +537,7 @@ class Feeds extends Handler_Protected {
|
|||
$override_order = "ttrss_entries.title, date_entered, updated";
|
||||
break;
|
||||
case "date_reverse":
|
||||
$override_order = "score DESC, date_entered, updated";
|
||||
$override_order = "updated";
|
||||
$skip_first_id_check = true;
|
||||
break;
|
||||
case "feed_dates":
|
||||
|
|
|
@ -25,7 +25,7 @@ class Handler_Public extends Handler {
|
|||
$date_sort_field = "ttrss_entries.title, date_entered, updated";
|
||||
break;
|
||||
case "date_reverse":
|
||||
$date_sort_field = "date_entered, updated";
|
||||
$date_sort_field = "updated";
|
||||
break;
|
||||
case "feed_dates":
|
||||
$date_sort_field = "updated DESC";
|
||||
|
|
Loading…
Reference in New Issue