Fixed: History taking a long time to change pages

Fixed: Series search results will show the year in italics if its not part of the title
This commit is contained in:
Mark McDowall 2013-10-29 17:30:36 -07:00
parent 7b6549fcd3
commit 70127125c2
2 changed files with 5 additions and 3 deletions

View File

@ -1,6 +1,8 @@
using System;
using System.Collections.Generic;
using NzbDrone.Api.Episodes;
using NzbDrone.Api.REST;
using NzbDrone.Api.Series;
using NzbDrone.Core.History;
using NzbDrone.Core.Tv;
@ -21,7 +23,7 @@ namespace NzbDrone.Api.History
public Dictionary<string, string> Data { get; set; }
public Episode Episode { get; set; }
public Core.Tv.Series Series { get; set; }
public EpisodeResource Episode { get; set; }
public SeriesResource Series { get; set; }
}
}

View File

@ -68,6 +68,6 @@ define(
return this.title;
}
return '{0} ({1})'.format(this.title, this.year);
return new Handlebars.SafeString('{0} <em>({1})</em>'.format(this.title, this.year));
});
});