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