From 3221435ab09834cc95ef472528def0569cc92bc6 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Tue, 20 Mar 2018 03:36:08 +0100 Subject: store sort of files --- public/assets/js/lib/views/profile/profile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'public/assets/js/lib/views/profile/profile.js') 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 }) }, -- cgit v1.2.3-70-g09d2