mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07:00
Some performance tweaks to speed up episode list view.
This commit is contained in:
parent
e547792020
commit
18a20ff163
4 changed files with 11 additions and 33 deletions
|
@ -55,15 +55,6 @@ namespace NzbDrone.Web.Controllers
|
|||
return RedirectToAction("Index");
|
||||
}
|
||||
|
||||
public ActionResult LoadEpisodes(int seriesId)
|
||||
{
|
||||
_episodeProvider.RefreshEpisodeInfo(seriesId);
|
||||
return RedirectToAction("Details", new
|
||||
{
|
||||
seriesId
|
||||
});
|
||||
}
|
||||
|
||||
public ActionResult SeasonEditor(int seriesId)
|
||||
{
|
||||
var model =
|
||||
|
@ -149,7 +140,7 @@ namespace NzbDrone.Web.Controllers
|
|||
return String.Empty;
|
||||
|
||||
//Return the path relative to the Series' Folder
|
||||
return file.Path.Replace(file.Series.Path, "").Trim(Path.DirectorySeparatorChar);
|
||||
return file.Path;
|
||||
}
|
||||
|
||||
public ActionResult SearchForSeries(string seriesName)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue