1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2025-07-07 00:59:18 +02:00
Files
Sonarr/UI/Release/Collection.js

22 lines
532 B
JavaScript
Raw Normal View History

'use strict';
define(
[
'Release/Model',
'backbone.pageable'
], function (ReleaseModel, PagableCollection) {
return PagableCollection.extend({
2013-09-14 00:10:19 -07:00
url : window.NzbDrone.ApiRoot + '/release',
model: ReleaseModel,
mode: 'client',
state: {
pageSize: 2000
},
2013-06-06 17:50:17 -07:00
fetchEpisodeReleases: function (episodeId) {
return this.fetch({ data: { episodeId: episodeId }});
}
});
});