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.
Lidarr/src/UI/Series/SeasonCollection.js

10 lines
242 B

var Backbone = require('backbone');
var SeasonModel = require('./SeasonModel');
module.exports = Backbone.Collection.extend({
model : SeasonModel,
comparator : function(season) {
return -season.get('seasonNumber');
}
});