Renamed DTOBaseITem.IsRecentlyAdded to IsNew

pull/702/head
LukePulverenti Luke Pulverenti luke pulverenti 13 years ago
parent f392de9b69
commit 64887fa743

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

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

Loading…
Cancel
Save