1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-10 04:52:42 +01:00
Radarr/UI/Release/Collection.js

18 lines
455 B
JavaScript
Raw Normal View History

"use strict";
define(['app', 'Release/Model'], function () {
NzbDrone.Release.Collection = Backbone.PageableCollection.extend({
url : NzbDrone.Constants.ApiRoot + '/release',
model: NzbDrone.Release.Model,
mode: 'client',
2013-06-07 02:50:17 +02:00
state: {
pageSize: 2000
},
fetchEpisodeReleases: function (episodeId) {
return this.fetch({ data: { episodeId: episodeId }});
}
});
});