mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
fixes sorting after adding movies
This commit is contained in:
@@ -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() {
|
||||
|
Reference in New Issue
Block a user