Merge branch 'markus101'

Conflicts:
	NzbDrone.Web/NzbDrone.Web.csproj
	NzbDrone.Web/Views/Log/Index.cshtml
This commit is contained in:
kay.one 2011-04-21 21:03:59 -07:00
commit 6f73260ab7
32 changed files with 1359 additions and 537 deletions

View file

@ -38,7 +38,10 @@ namespace NzbDrone.Web.Controllers
[GridAction]
public ActionResult _AjaxBinding()
{
var history = _historyProvider.AllItems().Select(h => new HistoryModel
//TODO: possible subsonic bug, IQuarible causes some issues so ToList() is called
var history = _historyProvider.AllItems().ToList().Select(h => new HistoryModel
{
HistoryId = h.HistoryId,
SeasonNumber = h.Episode.SeasonNumber,
@ -47,11 +50,13 @@ namespace NzbDrone.Web.Controllers
EpisodeOverview = h.Episode.Overview,
SeriesTitle = h.Episode.Series.Title,
NzbTitle = h.NzbTitle,
Quality = h.Quality.ToString("G"),
Quality = h.Quality.ToString(),
IsProper = h.IsProper,
Date = h.Date
});
history.ToList();
return View(new GridModel(history));
}
}