You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Sonarr/UI/Series/SeriesCollection.js

19 lines
463 B

'use strict';
define(['app', 'Series/SeriesModel'], function () {
NzbDrone.Series.SeriesCollection = Backbone.Collection.extend({
url : NzbDrone.Constants.ApiRoot + '/series',
model: NzbDrone.Series.SeriesModel,
comparator: function(model) {
return model.get('title');
},
state: {
sortKey: 'title',
order: -1
}
});
return NzbDrone.Series.SeriesCollection;
});