aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--MediaBrowser.Api/SearchService.cs3
-rw-r--r--MediaBrowser.Model/Search/SearchHint.cs6
2 files changed, 8 insertions, 1 deletions
diff --git a/MediaBrowser.Api/SearchService.cs b/MediaBrowser.Api/SearchService.cs
index a1eb2c3a1..78ff1bc07 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 1e16b0492..bebe23734 100644
--- a/MediaBrowser.Model/Search/SearchHint.cs
+++ b/MediaBrowser.Model/Search/SearchHint.cs
@@ -32,6 +32,12 @@ namespace MediaBrowser.Model.Search
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>
/// <value>The parent index number.</value>