mirror of
https://github.com/lidarr/Lidarr
synced 2024-12-27 10:07:10 +00:00
20 lines
490 B
JavaScript
20 lines
490 B
JavaScript
"use strict";
|
|
define(['app', 'Series/SeasonModel'], function () {
|
|
NzbDrone.Series.SeasonCollection = Backbone.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
|
|
}
|
|
});
|
|
});
|