From 64887fa74347260d44a8cb5cc7058cd22b08c1c5 Mon Sep 17 00:00:00 2001 From: LukePulverenti Luke Pulverenti luke pulverenti Date: Sun, 19 Aug 2012 13:02:26 -0400 Subject: [PATCH] Renamed DTOBaseITem.IsRecentlyAdded to IsNew --- MediaBrowser.Api/ApiService.cs | 2 +- MediaBrowser.Model/DTO/DTOBaseItem.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/MediaBrowser.Api/ApiService.cs b/MediaBrowser.Api/ApiService.cs index 1b2ddd0b85..4d764f3e39 100644 --- a/MediaBrowser.Api/ApiService.cs +++ b/MediaBrowser.Api/ApiService.cs @@ -38,7 +38,7 @@ namespace MediaBrowser.Api dto.HasPrimaryImage = !string.IsNullOrEmpty(item.LogoImagePath); dto.HasThumb = !string.IsNullOrEmpty(item.ThumbnailImagePath); dto.Id = item.Id; - dto.IsRecentlyAdded = item.IsRecentlyAdded(user); + dto.IsNew = item.IsRecentlyAdded(user); dto.IndexNumber = item.IndexNumber; dto.IsFolder = item is Folder; dto.LocalTrailerCount = item.LocalTrailers == null ? 0 : item.LocalTrailers.Count(); diff --git a/MediaBrowser.Model/DTO/DTOBaseItem.cs b/MediaBrowser.Model/DTO/DTOBaseItem.cs index 777d03b8ad..a24d6a3785 100644 --- a/MediaBrowser.Model/DTO/DTOBaseItem.cs +++ b/MediaBrowser.Model/DTO/DTOBaseItem.cs @@ -97,6 +97,6 @@ namespace MediaBrowser.Model.DTO return Type.Equals(type, StringComparison.OrdinalIgnoreCase); } - public bool IsRecentlyAdded { get; set; } + public bool IsNew { get; set; } } }