You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
501 B
18 lines
501 B
'use strict';
|
|
define(['app', 'Release/Model', 'backbone.pageable'], function (app, SeriesModel, PagableCollection) {
|
|
NzbDrone.Release.Collection = PagableCollection.extend({
|
|
url : NzbDrone.Constants.ApiRoot + '/release',
|
|
model: NzbDrone.Release.Model,
|
|
|
|
mode: 'client',
|
|
|
|
state: {
|
|
pageSize: 2000
|
|
},
|
|
|
|
fetchEpisodeReleases: function (episodeId) {
|
|
return this.fetch({ data: { episodeId: episodeId }});
|
|
}
|
|
});
|
|
});
|