mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2026-04-25 22:59:10 -04:00
Simplify use the group name when the release name is empty
This commit is contained in:
@@ -226,12 +226,7 @@ namespace NzbDrone.Core.Indexers.Definitions
|
||||
{
|
||||
var details = _settings.BaseUrl + "torrents.php?id=" + row.TorrentId;
|
||||
|
||||
var title = row.ReleaseTitle;
|
||||
|
||||
if (title.IsNullOrWhiteSpace())
|
||||
{
|
||||
title = row.GroupName;
|
||||
}
|
||||
var title = row.ReleaseTitle.IsNotNullOrWhiteSpace() ? row.ReleaseTitle : row.GroupName;
|
||||
|
||||
var release = new TorrentInfo
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user