Renamed DTOBaseITem.IsRecentlyAdded to IsNew

This commit is contained in:
LukePulverenti Luke Pulverenti luke pulverenti 2012-08-19 13:02:26 -04:00
parent f392de9b69
commit 64887fa743
2 changed files with 2 additions and 2 deletions

View File

@ -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();

View File

@ -97,6 +97,6 @@ namespace MediaBrowser.Model.DTO
return Type.Equals(type, StringComparison.OrdinalIgnoreCase);
}
public bool IsRecentlyAdded { get; set; }
public bool IsNew { get; set; }
}
}