1
0
Fork 0
mirror of https://github.com/Radarr/Radarr synced 2025-01-01 12:54:21 +00:00

Merge pull request #1041 from geogolem/sortingFixForAddedMovies

fixes sorting after adding movies
This commit is contained in:
geogolem 2017-03-06 13:10:27 -05:00 committed by GitHub
commit 597a070383

View file

@ -21,6 +21,7 @@ var Collection = PageableCollection.extend({
origSetSorting : PageableCollection.prototype.setSorting,
origAdd : PageableCollection.prototype.add,
origSort : PageableCollection.prototype.sort,
state : {
sortKey : 'sortTitle',
@ -69,7 +70,9 @@ var Collection = PageableCollection.extend({
},
sort : function(options){
//debugger;
if (this.mode == 'server' && this.state.order == '-1'){
this.origSort(options);
}
},
save : function() {