mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-10-31 16:02:29 +01:00
25 lines
560 B
JavaScript
25 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
|
||
}
|
||
});
|
||
});
|