Added NzbTitle to History item and will set it when adding to the DB.

pull/2/head
markus101 14 years ago
parent c448c17605
commit 737330d48b

@ -199,6 +199,7 @@ namespace NzbDrone.Core.Providers
history.IndexerName = indexer.IndexerName;
history.IsProper = nzb.Proper;
history.Quality = nzb.Quality;
history.NzbTitle = nzb.Title;
_history.Insert(history);
}

@ -12,6 +12,7 @@ namespace NzbDrone.Core.Repository
public int HistoryId { get; set; }
public virtual int EpisodeId { get; set; }
public virtual string IndexerName { get; set; }
public string NzbTitle { get; set; }
public QualityTypes Quality { get; set; }
public DateTime Date { get; set; }
public bool IsProper { get; set; }

Loading…
Cancel
Save