mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-17 21:25:39 -04:00
Fixed: File change history appearing against wrong book
This commit is contained in:
@@ -294,7 +294,7 @@ namespace NzbDrone.Core.History
|
||||
Quality = message.BookFile.Quality,
|
||||
SourceTitle = message.BookFile.Path,
|
||||
AuthorId = message.BookFile.Author.Value.Id,
|
||||
BookId = message.BookFile.EditionId
|
||||
BookId = message.BookFile.Edition.Value.BookId
|
||||
};
|
||||
|
||||
history.Data.Add("Reason", message.Reason.ToString());
|
||||
@@ -314,7 +314,7 @@ namespace NzbDrone.Core.History
|
||||
Quality = message.BookFile.Quality,
|
||||
SourceTitle = message.OriginalPath,
|
||||
AuthorId = message.BookFile.Author.Value.Id,
|
||||
BookId = message.BookFile.EditionId
|
||||
BookId = message.BookFile.Edition.Value.BookId
|
||||
};
|
||||
|
||||
history.Data.Add("SourcePath", sourcePath);
|
||||
@@ -334,7 +334,7 @@ namespace NzbDrone.Core.History
|
||||
Quality = message.BookFile.Quality,
|
||||
SourceTitle = path,
|
||||
AuthorId = message.BookFile.Author.Value.Id,
|
||||
BookId = message.BookFile.EditionId
|
||||
BookId = message.BookFile.Edition.Value.BookId
|
||||
};
|
||||
|
||||
history.Data.Add("TagsScrubbed", message.Scrubbed.ToString());
|
||||
|
||||
Reference in New Issue
Block a user