fixed build

This commit is contained in:
kay.one 2013-05-12 08:53:39 -07:00
commit feb947fb74
4 changed files with 17 additions and 4 deletions

View file

@ -1,7 +1,20 @@
"use strict";
define(['app', 'Series/SeasonModel'], function () {
NzbDrone.Series.SeasonCollection = Backbone.Collection.extend({
NzbDrone.Series.SeasonCollection = Backbone.PageableCollection.extend({
url : NzbDrone.Constants.ApiRoot + '/season',
model: NzbDrone.Series.SeasonModel
model: NzbDrone.Series.SeasonModel,
mode: 'client',
state: {
sortKey : 'seasonNumber',
order : 1,
pageSize: 1000000
},
queryParams: {
sortKey: null,
order : null
}
});
});