From 737330d48b99017ec397cb3d8e3a2f2d3514719e Mon Sep 17 00:00:00 2001 From: markus101 Date: Mon, 21 Feb 2011 17:05:56 -0800 Subject: [PATCH] Added NzbTitle to History item and will set it when adding to the DB. --- NzbDrone.Core/Providers/RssSyncProvider.cs | 1 + NzbDrone.Core/Repository/History.cs | 1 + 2 files changed, 2 insertions(+) diff --git a/NzbDrone.Core/Providers/RssSyncProvider.cs b/NzbDrone.Core/Providers/RssSyncProvider.cs index 9953c97cf..7f4eba2ee 100644 --- a/NzbDrone.Core/Providers/RssSyncProvider.cs +++ b/NzbDrone.Core/Providers/RssSyncProvider.cs @@ -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); } diff --git a/NzbDrone.Core/Repository/History.cs b/NzbDrone.Core/Repository/History.cs index 7eca99086..f859826d1 100644 --- a/NzbDrone.Core/Repository/History.cs +++ b/NzbDrone.Core/Repository/History.cs @@ -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; }