mirror of
https://git.tt-rss.org/fox/tt-rss.git
synced 2025-10-12 11:31:00 +02:00
api: allow sorting headlines by title
This commit is contained in:
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…
x
Reference in New Issue
Block a user