From e79bdedb819415792eea49de7483885046d2a368 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Mon, 14 May 2018 18:54:22 +0200 Subject: change password form working --- public/assets/js/lib/views/profile/profile.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'public/assets/js/lib/views/profile') 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){ -- cgit v1.2.3-70-g09d2