mirror of
https://github.com/Radarr/Radarr
synced 2024-12-26 01:38:24 +00:00
Ampersand in searching replaced with and
Fixed: "&" is replaced with "and" in the Series title when searching for episodes
This commit is contained in:
parent
b577d78494
commit
9c98a764f5
2 changed files with 5 additions and 1 deletions
|
@ -139,6 +139,7 @@
|
|||
</Reference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="ProviderTests\SearchProviderTests\GetSeriesTitleFixture.cs" />
|
||||
<Compile Include="ProviderTests\TvRageMappingProviderTests\FindMatchingTvRageSeriesFixture.cs" />
|
||||
<Compile Include="ProviderTests\TvRageMappingProviderTests\ProcessResultsFixture.cs" />
|
||||
<Compile Include="ProviderTests\TvRageProviderTests\GetSeriesFixture.cs" />
|
||||
|
|
|
@ -570,8 +570,11 @@ public string GetSeriesTitle(Series series)
|
|||
{
|
||||
var title = _sceneMappingProvider.GetSceneName(series.SeriesId);
|
||||
|
||||
if (String.IsNullOrWhiteSpace(title))
|
||||
if(String.IsNullOrWhiteSpace(title))
|
||||
{
|
||||
title = series.Title;
|
||||
title = title.Replace("&", "and");
|
||||
}
|
||||
|
||||
return title;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue