mirror of
https://github.com/Sonarr/Sonarr
synced 2025-02-25 15:33:11 +00:00
14 lines
332 B
JavaScript
14 lines
332 B
JavaScript
'use strict';
|
||
define(
|
||
[
|
||
'backbone',
|
||
'Series/SeasonModel'
|
||
], function (Backbone, SeasonModel) {
|
||
return Backbone.Collection.extend({
|
||
model: SeasonModel,
|
||
|
||
comparator: function (season) {
|
||
return -season.get('seasonNumber');
|
||
}
|
||
});
|
||
});
|