mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-05 02:22:31 +01:00
fixes sorting after adding movies
This commit is contained in:
parent
0d60375a56
commit
07d3b1b3a5
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user