From d028f00e8d47139895b987fc071fc0133d204959 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Sat, 17 Mar 2018 18:51:38 +0100 Subject: sort --- public/assets/js/lib/views/index/threadbox.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/assets/js/lib/views/index/threadbox.js b/public/assets/js/lib/views/index/threadbox.js index c6acc21..46ba9de 100644 --- a/public/assets/js/lib/views/index/threadbox.js +++ b/public/assets/js/lib/views/index/threadbox.js @@ -41,7 +41,7 @@ var ThreadBox = View.extend({ Object.keys(keywords).sort().forEach((keyword) => { this.appendKeyword({ keyword }) this.appendThreads(keywords[keyword].sort( (a,b) => { - return b.lastmodified - a.lastmodified + return a.title.localeCompare(b.title) // b.lastmodified - a.lastmodified })) }) } -- cgit v1.2.3-70-g09d2