mirror of
https://github.com/Sonarr/Sonarr
synced 2024-12-27 18:28:19 +00:00
24 lines
560 B
JavaScript
24 lines
560 B
JavaScript
'use strict';
|
||
define(
|
||
[
|
||
'Series/SeasonModel',
|
||
'backbone.pageable'
|
||
], function (SeasonModel, PageAbleCollection) {
|
||
return PageAbleCollection.extend({
|
||
url : window.ApiRoot + '/season',
|
||
model: SeasonModel,
|
||
|
||
mode: 'client',
|
||
|
||
state: {
|
||
sortKey : 'seasonNumber',
|
||
order : 1,
|
||
pageSize: 1000000
|
||
},
|
||
|
||
queryParams: {
|
||
sortKey: null,
|
||
order : null
|
||
}
|
||
});
|
||
});
|