api: allow sorting headlines by title

master
Andrew Dolgov 11 years ago
parent 4ad04ee227
commit 273c33e512

@ -202,6 +202,9 @@ class API extends Handler {
$override_order = false;
switch ($_REQUEST["order_by"]) {
case "title":
$override_order = "ttrss_entries.title";
break;
case "date_reverse":
$override_order = "score DESC, date_entered, updated";
break;

Loading…
Cancel
Save