1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-10 21:12:56 +01:00
Radarr/UI/Series/SeasonCollection.js

25 lines
560 B
JavaScript
Raw Normal View History

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