diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-03-17 18:51:38 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-03-17 18:51:38 +0100 |
| commit | d028f00e8d47139895b987fc071fc0133d204959 (patch) | |
| tree | 240ec85058215cd292dd91fe25a7f5b253825f4c /public/assets/js/lib/views/index/threadbox.js | |
| parent | a9c9d59133ed3466740266a13d505cdcc578b853 (diff) | |
sort
Diffstat (limited to 'public/assets/js/lib/views/index/threadbox.js')
| -rw-r--r-- | public/assets/js/lib/views/index/threadbox.js | 2 |
1 files changed, 1 insertions, 1 deletions
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 })) }) } |
