1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-11-01 16:32:56 +01:00
Sonarr/UI/Series/SeasonCollection.js

21 lines
490 B
JavaScript
Raw Normal View History

"use strict";
define(['app', 'Series/SeasonModel'], function () {
2013-05-12 17:53:39 +02:00
NzbDrone.Series.SeasonCollection = Backbone.PageableCollection.extend({
url : NzbDrone.Constants.ApiRoot + '/season',
2013-05-12 17:53:39 +02:00
model: NzbDrone.Series.SeasonModel,
mode: 'client',
state: {
sortKey : 'seasonNumber',
order : 1,
pageSize: 1000000
},
queryParams: {
sortKey: null,
order : null
}
2013-03-03 23:42:26 +01:00
});
});