summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2015-03-17 02:01:10 +0300
committerAndrew Dolgov <[email protected]>2015-03-17 02:01:10 +0300
commit755869ffbc7c405aa85e883ee75c3686a7246807 (patch)
tree05f83f75d6bd35b33530103918e7b6ba6ca08a92
parentffb7c4868dc637f3b430d64ba47edefe18a3a8b2 (diff)
remove unread first sorting: has issues, is pretty much adaptive anyway
-rw-r--r--include/functions2.php4
-rw-r--r--index.php1
2 files changed, 0 insertions, 5 deletions
diff --git a/include/functions2.php b/include/functions2.php
index 278c0f3ee..c0ed7a823 100644
--- a/include/functions2.php
+++ b/include/functions2.php
@@ -665,10 +665,6 @@
$order_by = "score DESC, date_entered DESC, updated DESC";
- if ($view_mode == "unread_first") {
- $order_by = "unread DESC, $order_by";
- }
-
if ($override_order) {
$order_by = $override_order;
}
diff --git a/index.php b/index.php
index 322635978..360a6dc19 100644
--- a/index.php
+++ b/index.php
@@ -176,7 +176,6 @@
<option value="marked"><?php echo __('Starred') ?></option>
<option value="published"><?php echo __('Published') ?></option>
<option value="unread"><?php echo __('Unread') ?></option>
- <option value="unread_first"><?php echo __('Unread First') ?></option>
<option value="has_note"><?php echo __('With Note') ?></option>
<!-- <option value="noscores"><?php echo __('Ignore Scoring') ?></option> -->
</select>