summaryrefslogtreecommitdiff
path: root/public/assets/js/lib/views/profile/profile.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-05-14 18:54:22 +0200
committerJules Laplace <julescarbon@gmail.com>2018-05-14 18:54:22 +0200
commite79bdedb819415792eea49de7483885046d2a368 (patch)
tree9931fa389c1459347593155dd09a7c2cf3ecc009 /public/assets/js/lib/views/profile/profile.js
parentafd20e776ba207be9c4a00d29cb61dd3ea760eef (diff)
change password form working
Diffstat (limited to 'public/assets/js/lib/views/profile/profile.js')
-rw-r--r--public/assets/js/lib/views/profile/profile.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/public/assets/js/lib/views/profile/profile.js b/public/assets/js/lib/views/profile/profile.js
index a738950..46ade8e 100644
--- a/public/assets/js/lib/views/profile/profile.js
+++ b/public/assets/js/lib/views/profile/profile.js
@@ -26,8 +26,8 @@ var ProfileView = View.extend({
// this.comments.load(data.comments, data.thread)
this.gallery.load(files)
this.files.load(files)
- this.files.resort("date", "asc")
- this.threadbox.load({ threads, user })
+ this.files.resort("date_desc")
+ this.threadbox.load({ threads, user, sort: 'date' })
},
populate: function(user){