mirror of
https://github.com/Radarr/Radarr
synced 2024-12-28 19:05:55 +00:00
769331d45d
single quotes
23 lines
587 B
JavaScript
23 lines
587 B
JavaScript
'use strict';
|
|
define(['app', 'Series/SeasonModel', 'backbone.pageable'], function (App, SeasonModel, PageAbleCollection) {
|
|
NzbDrone.Series.SeasonCollection = PageAbleCollection.extend({
|
|
url : NzbDrone.Constants.ApiRoot + '/season',
|
|
model: NzbDrone.Series.SeasonModel,
|
|
|
|
mode: 'client',
|
|
|
|
state: {
|
|
sortKey : 'seasonNumber',
|
|
order : 1,
|
|
pageSize: 1000000
|
|
},
|
|
|
|
queryParams: {
|
|
sortKey: null,
|
|
order : null
|
|
}
|
|
});
|
|
|
|
|
|
return NzbDrone.Series.SeasonCollection;
|
|
});
|