1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2024-12-27 01:57:21 +00:00
Lidarr/UI/Series/SeasonCollection.js

24 lines
587 B
JavaScript
Raw Normal View History

2013-06-22 06:24:24 +00:00
'use strict';
define(['app', 'Series/SeasonModel', 'backbone.pageable'], function (App, SeasonModel, PageAbleCollection) {
NzbDrone.Series.SeasonCollection = PageAbleCollection.extend({
url : NzbDrone.Constants.ApiRoot + '/season',
2013-05-12 15:53:39 +00:00
model: NzbDrone.Series.SeasonModel,
mode: 'client',
state: {
sortKey : 'seasonNumber',
order : 1,
pageSize: 1000000
},
queryParams: {
sortKey: null,
order : null
}
2013-03-03 22:42:26 +00:00
});
2013-06-19 01:02:23 +00:00
return NzbDrone.Series.SeasonCollection;
2013-03-03 22:42:26 +00:00
});