diff --git a/NzbDrone.Core/Parser/Model/RemoteEpisode.cs b/NzbDrone.Core/Parser/Model/RemoteEpisode.cs index cc7459e4f..70b001511 100644 --- a/NzbDrone.Core/Parser/Model/RemoteEpisode.cs +++ b/NzbDrone.Core/Parser/Model/RemoteEpisode.cs @@ -17,7 +17,7 @@ public class RemoteEpisode public bool IsRecentEpisode() { - return Episodes.Any(e => e.AirDateUtc >= DateTime.Today.AddDays(-14)); + return Episodes.Any(e => e.AirDateUtc >= DateTime.UtcNow.Date.AddDays(-14)); } public override string ToString() diff --git a/UI/Cells/cells.less b/UI/Cells/cells.less index 0bf8a9097..9cd18c9a6 100644 --- a/UI/Cells/cells.less +++ b/UI/Cells/cells.less @@ -56,4 +56,9 @@ td.episode-status-cell, td.quality-cell { i { .clickable(); } +} + +.nzb-title-cell { + max-width: 600px; + word-wrap: break-word; } \ No newline at end of file diff --git a/UI/Episode/Search/ManualLayout.js b/UI/Episode/Search/ManualLayout.js index 3ff73bc11..8647b4c2a 100644 --- a/UI/Episode/Search/ManualLayout.js +++ b/UI/Episode/Search/ManualLayout.js @@ -29,7 +29,7 @@ define( name : 'title', label : 'Title', sortable: true, - cell : Backgrid.StringCell + cell : Backgrid.StringCell.extend({ className: 'nzb-title-cell' }) }, { name : 'indexer',