mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07:00
added more tests for seriesprovider
This commit is contained in:
parent
b21bdbe41f
commit
8a3fe0f14e
10 changed files with 90 additions and 34 deletions
|
@ -121,7 +121,7 @@ namespace NzbDrone.Web.Controllers
|
|||
var dataVal = _tvDbProvider.SearchSeries(searchString);
|
||||
var bestResult = _tvDbProvider.GetBestMatch(dataVal.ToList(), searchString);
|
||||
|
||||
return new SelectList(dataVal, "Id", "SeriesName", bestResult);
|
||||
return new SelectList(dataVal, "Id", "SeriesName", dataVal[0].Id);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue