mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-16 11:37:58 +02:00
769331d45d
single quotes
18 lines
501 B
JavaScript
18 lines
501 B
JavaScript
'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 }});
|
|
}
|
|
});
|
|
});
|