add back sorting by title

This commit is contained in:
Andrew Dolgov 2013-04-04 20:44:55 +04:00
parent ba1c7d7cc9
commit f3b2e7d41f
2 changed files with 10 additions and 6 deletions

View File

@ -866,6 +866,9 @@ class Feeds extends Handler_Protected {
$override_order = false;
switch ($order_by) {
case "title":
$override_order = "ttrss_entries.title";
break;
case "date_reverse":
$override_order = "date_entered, updated";
break;

View File

@ -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()">