add back sorting by title
This commit is contained in:
parent
ba1c7d7cc9
commit
f3b2e7d41f
2 changed files with 10 additions and 6 deletions
|
@ -866,12 +866,15 @@ class Feeds extends Handler_Protected {
|
|||
$override_order = false;
|
||||
|
||||
switch ($order_by) {
|
||||
case "date_reverse":
|
||||
$override_order = "date_entered, updated";
|
||||
break;
|
||||
case "feed_dates":
|
||||
$override_order = "updated DESC";
|
||||
break;
|
||||
case "title":
|
||||
$override_order = "ttrss_entries.title";
|
||||
break;
|
||||
case "date_reverse":
|
||||
$override_order = "date_entered, updated";
|
||||
break;
|
||||
case "feed_dates":
|
||||
$override_order = "updated DESC";
|
||||
break;
|
||||
}
|
||||
|
||||
if ($_REQUEST["debug"]) $timing_info = print_checkpoint("04", $timing_info);
|
||||
|
|
|
@ -185,6 +185,7 @@
|
|||
<option selected="selected" value="default"><?php echo __('Default') ?></option>
|
||||
<option value="feed_dates"><?php echo __('Newest first') ?></option>
|
||||
<option value="date_reverse"><?php echo __('Oldest first') ?></option>
|
||||
<option value="title"><?php echo __('Title') ?></option>
|
||||
</select>
|
||||
|
||||
<div dojoType="dijit.form.ComboButton" onclick="catchupCurrentFeed()">
|
||||
|
|
Loading…
Reference in a new issue