1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-22 22:15:17 -04:00

Fixes some issues when adding movies caused by TMDB.

This commit is contained in:
Leonardo Galli
2017-01-04 20:52:59 +01:00
parent e68653463d
commit 402a9e1ee0
4 changed files with 5 additions and 4 deletions
@@ -21,8 +21,8 @@ module.exports = Marionette.CollectionView.extend({
return this.showing >= this.collection.length;
},
setExisting : function(imdbid) {
var movies = this.collection.where({ imdbId : imdbid });
setExisting : function(tmdbid) {
var movies = this.collection.where({ tmdbId : tmdbid });
console.warn(movies)
//debugger;
if (movies.length > 0) {