mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2026-04-24 22:55:21 -04:00
First implementation of History for Movies. However, nothing is returned from the Database query misteriously.
This commit is contained in:
@@ -55,11 +55,15 @@ var Collection = PageableCollection.extend({
|
||||
|
||||
initialize : function(options) {
|
||||
delete this.queryParams.episodeId;
|
||||
delete this.queryParams.movieId;
|
||||
|
||||
if (options) {
|
||||
if (options.episodeId) {
|
||||
this.queryParams.episodeId = options.episodeId;
|
||||
}
|
||||
if (options.movieId) {
|
||||
this.queryParams.movieId = options.movieId;
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -80,4 +84,4 @@ Collection = AsFilteredCollection.call(Collection);
|
||||
Collection = AsSortedCollection.call(Collection);
|
||||
Collection = AsPersistedStateCollection.call(Collection);
|
||||
|
||||
module.exports = Collection;
|
||||
module.exports = Collection;
|
||||
|
||||
Reference in New Issue
Block a user