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