1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-09 20:42:37 +01:00
Radarr/UI/Series/SeasonCollection.js
2013-06-18 18:02:23 -07:00

24 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;
});