mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-04-24 05:47:22 -04:00
Simplify use the group name when the release name is empty
This commit is contained in:
parent
cdb3ed36f6
commit
3cabc0589a
1 changed files with 1 additions and 6 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue