Merge pull request #500 from Radarr/patch/net-import-changes

Patch/net import changes
pull/2/head
Devin Buhl 8 years ago committed by GitHub
commit be083cfd53

@ -15,7 +15,7 @@ namespace NzbDrone.Core.NetImport.Trakt
public class Movie
{
public string title { get; set; }
public int year { get; set; }
public int? year { get; set; }
public Ids ids { get; set; }
}

@ -57,7 +57,7 @@ namespace NzbDrone.Core.NetImport.Trakt
Title = movie.movie.title,
ImdbId = movie.movie.ids.imdb,
TmdbId = movie.movie.ids.tmdb,
Year = movie.movie.year
Year = (movie.movie.year ?? 0)
});
}

@ -25,7 +25,7 @@ var view = Marionette.ItemView.extend({
events : {
'click .x-back' : '_back',
'click .x-captcha-refresh' : '_onRefreshCaptcha',
'change .x-root-folder' : '_rootFolderChanged',
'change .x-root-folder' : '_rootFolderChanged',
},
_deleteView : DeleteView,

@ -66,7 +66,11 @@
<label class="col-sm-3 control-label">Quality Profile</label>
<div class="col-sm-5">
{{> ProfileSelectionPartial profiles}}
<select class="form-control x-profile" id="inputProfile" name="profileId">
{{#each profiles}}
<option value="{{id}}">{{name}}</option>
{{/each}}
</select>
</div>
</div>

Loading…
Cancel
Save