From d9a3f303e7a8ec38f97c514b7b0405843b1b7a23 Mon Sep 17 00:00:00 2001 From: geogolem Date: Tue, 7 Mar 2017 10:52:48 -0500 Subject: [PATCH] reverting a change made yesterday regarding sorting the change fixed sorting titles of newly added movies without a refresh however, people have noticed it broke sorting of "In Cinemas" column in general. i commented out the change; but also added a special case in the comment, that would fix the case in question, without breaking the others; however, more investigating is needed because there is an issue with sorting newly added movies in general and the fix this reverts was never good enough anyway. --- src/UI/Movies/MoviesCollection.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/UI/Movies/MoviesCollection.js b/src/UI/Movies/MoviesCollection.js index b682dd03a..6ddb9be93 100644 --- a/src/UI/Movies/MoviesCollection.js +++ b/src/UI/Movies/MoviesCollection.js @@ -111,9 +111,9 @@ var Collection = PageableCollection.extend({ }, sort : function(options){ - if (this.mode == 'server' && this.state.order == '-1'){ - this.origSort(options); - } + //if (this.mode == 'server' && this.state.order == '-1' && this.state.sortKey === 'sortTitle'){ + // this.origSort(options); + //} }, save : function() {