mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2026-04-23 22:45:06 -04:00
Fixed: (Cardigann) Fails when Int variables used in requests
This commit is contained in:
@@ -9,6 +9,7 @@ namespace NzbDrone.Core.IndexerSearch.Definitions
|
||||
public string ImdbId { get; set; }
|
||||
public int? TmdbId { get; set; }
|
||||
public int? TraktId { get; set; }
|
||||
public int? Year { get; set; }
|
||||
|
||||
public override bool RssSearch
|
||||
{
|
||||
@@ -48,6 +49,11 @@ namespace NzbDrone.Core.IndexerSearch.Definitions
|
||||
builder = builder.Append($" IMDbId:[{ImdbId}]");
|
||||
}
|
||||
|
||||
if (Year.HasValue)
|
||||
{
|
||||
builder = builder.Append($" Year:[{Year}]");
|
||||
}
|
||||
|
||||
if (TmdbId.HasValue)
|
||||
{
|
||||
builder = builder.Append($" TMDbId:[{TmdbId}]");
|
||||
|
||||
Reference in New Issue
Block a user