]> git.wh0rd.org - tt-rss.git/commitdiff
remove unread first sorting: has issues, is pretty much adaptive anyway
authorAndrew Dolgov <noreply@fakecake.org>
Mon, 16 Mar 2015 23:01:10 +0000 (02:01 +0300)
committerAndrew Dolgov <noreply@fakecake.org>
Mon, 16 Mar 2015 23:01:10 +0000 (02:01 +0300)
include/functions2.php
index.php

index 278c0f3eeba2d56e55b252ed7ac08823a6938932..c0ed7a82302753a3725b0a95c00be4aadef4cf3e 100644 (file)
 
                        $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;
                        }
index 322635978df9e532bb9ccb85d507b108d1c1388f..360a6dc193632aafb7df0a86921ee77e9fa580be 100644 (file)
--- a/index.php
+++ b/index.php
                        <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>