Browse Source

change header icons to jqm buttons

Luke Pulverenti 11 years ago
parent
commit
8d25a86a27
2 changed files with 8 additions and 1 deletions
  1. 2 1
      MediaBrowser.Api/SearchService.cs
  2. 6 0
      MediaBrowser.Model/Search/SearchHint.cs

+ 2 - 1
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))

+ 6 - 0
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>