summaryrefslogtreecommitdiff
path: root/classes/handler
diff options
context:
space:
mode:
authorGilles Grandou <[email protected]>2017-10-09 17:23:13 +0200
committerGilles Grandou <[email protected]>2017-10-09 22:50:03 +0200
commit81d96c0dee5d6f4146f0089178578544f0f9c533 (patch)
tree449cac23462d6a75fb3a13013adde89404379f40 /classes/handler
parentd4fec604fc513945a20838c4bf3af158840bdda8 (diff)
makes 'order by title' to sort by title and by ascending date
* this allows to chronologically browse all articles with the same title.
Diffstat (limited to 'classes/handler')
-rw-r--r--classes/handler/public.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/handler/public.php b/classes/handler/public.php
index 317bc64db..d3c854ae4 100644
--- a/classes/handler/public.php
+++ b/classes/handler/public.php
@@ -27,7 +27,7 @@ class Handler_Public extends Handler {
switch ($order) {
case "title":
- $date_sort_field = "ttrss_entries.title";
+ $date_sort_field = "ttrss_entries.title, date_entered, updated";
break;
case "date_reverse":
$date_sort_field = "date_entered, updated";