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

This commit is contained in:
markus101 2011-02-21 17:05:56 -08:00
parent c448c17605
commit 737330d48b
2 changed files with 2 additions and 0 deletions

View File

@ -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);
}

View File

@ -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; }