mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-27 22:57:09 -04:00
Fixed sorting of cutoff when allowed list changes
This commit is contained in:
@@ -31,7 +31,10 @@ define(
|
||||
this.availableCollection.comparator = function (model) { return -model.get('weight'); };
|
||||
this.availableCollection.sort();
|
||||
|
||||
this.allowedCollection = new Backbone.Collection(this.model.get('allowed').reverse());
|
||||
this.allowedCollection = new Backbone.Collection(this.model.get('allowed'));
|
||||
this.allowedCollection.comparator = function (model) { return -model.get('weight'); };
|
||||
this.allowedCollection.sort();
|
||||
this.allowedCollection.comparator = undefined;
|
||||
},
|
||||
|
||||
onRender: function() {
|
||||
|
||||
Reference in New Issue
Block a user