Skip to content

The Free Software Media System - Server Backend & API

change header icons to jqm buttons

Luke Pulverenti8d25a86a270e
diff --git a/MediaBrowser.Api/SearchService.cs b/MediaBrowser.Api/SearchService.cs
index a1eb2c3a18..78ff1bc070 100644
--- a/MediaBrowser.Api/SearchService.cs
+++ b/MediaBrowser.Api/SearchService.cs
@@ -148,7 +148,8 @@ namespace MediaBrowser.Api
MediaType = item.MediaType,
MatchedTerm = hintInfo.MatchedTerm,
DisplayMediaType = item.DisplayMediaType,
- RunTimeTicks = item.RunTimeTicks
+ RunTimeTicks = item.RunTimeTicks,
+ ProductionYear = item.ProductionYear
};
if (item.HasImage(ImageType.Primary))
diff --git a/MediaBrowser.Model/Search/SearchHint.cs b/MediaBrowser.Model/Search/SearchHint.cs
index 1e16b04921..bebe237348 100644
--- a/MediaBrowser.Model/Search/SearchHint.cs
+++ b/MediaBrowser.Model/Search/SearchHint.cs
@@ -31,6 +31,12 @@ namespace MediaBrowser.Model.Search
/// <value>The index number.</value>
public int? IndexNumber { get; set; }
+ /// <summary>
+ /// Gets or sets the production year.
+ /// </summary>
+ /// <value>The production year.</value>
+ public int? ProductionYear { get; set; }
+
/// <summary>
/// Gets or sets the parent index number.
/// </summary>