diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-03-20 03:36:08 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-03-20 03:36:08 +0100 |
| commit | 3221435ab09834cc95ef472528def0569cc92bc6 (patch) | |
| tree | c51ed29c1e2aa20ed146d6fe4dfc9db1ef0ffe03 /public/assets/js/lib/views/profile/profile.js | |
| parent | 8c0a0474ff9306ddaa5c54f616c8937c0bce099b (diff) | |
store sort of files
Diffstat (limited to 'public/assets/js/lib/views/profile/profile.js')
| -rw-r--r-- | public/assets/js/lib/views/profile/profile.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/public/assets/js/lib/views/profile/profile.js b/public/assets/js/lib/views/profile/profile.js index 14511f9..a738950 100644 --- a/public/assets/js/lib/views/profile/profile.js +++ b/public/assets/js/lib/views/profile/profile.js @@ -26,7 +26,7 @@ var ProfileView = View.extend({ // this.comments.load(data.comments, data.thread) this.gallery.load(files) this.files.load(files) - this.files.sortByDate().reverse() + this.files.resort("date", "asc") this.threadbox.load({ threads, user }) }, |
