From caaf50ed9c6da8fbc181b6c704139837df0a2e56 Mon Sep 17 00:00:00 2001 From: Qstick Date: Sun, 3 Sep 2023 20:30:20 -0500 Subject: [PATCH] New: Save categories to history for grabs --- src/NzbDrone.Core/History/HistoryService.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/NzbDrone.Core/History/HistoryService.cs b/src/NzbDrone.Core/History/HistoryService.cs index 8dcc1861d..a5ee00372 100644 --- a/src/NzbDrone.Core/History/HistoryService.cs +++ b/src/NzbDrone.Core/History/HistoryService.cs @@ -203,6 +203,7 @@ namespace NzbDrone.Core.History history.Data.Add("Host", message.Host ?? string.Empty); history.Data.Add("GrabMethod", message.Redirect ? "Redirect" : "Proxy"); history.Data.Add("GrabTitle", message.Title); + history.Data.Add("Categories", string.Join(",", message.Release.Categories.Select(x => x.Id) ?? Array.Empty())); history.Data.Add("Url", message.Url ?? string.Empty); _historyRepository.Insert(history);