diff options
Diffstat (limited to 'include/functions.php')
-rw-r--r-- | include/functions.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/functions.php b/include/functions.php index fd92348be..115cc0352 100644 --- a/include/functions.php +++ b/include/functions.php @@ -2407,6 +2407,10 @@ $order_by = "score DESC, $order_by"; } + if ($view_mode == "unread_first") { + if (!$override_order) $override_order = "unread DESC, $order_by"; + } + if ($override_order) { $order_by = $override_order; } |