|
|
|
@ -355,7 +355,12 @@ namespace Emby.Server.Implementations.Library
|
|
|
|
|
var query = new InternalItemsQuery(user)
|
|
|
|
|
{
|
|
|
|
|
IncludeItemTypes = includeItemTypes,
|
|
|
|
|
OrderBy = new[] { (ItemSortBy.DateCreated, SortOrder.Descending) },
|
|
|
|
|
OrderBy = new[]
|
|
|
|
|
{
|
|
|
|
|
(ItemSortBy.DateCreated, SortOrder.Descending),
|
|
|
|
|
(ItemSortBy.SortName, SortOrder.Descending),
|
|
|
|
|
(ItemSortBy.ProductionYear, SortOrder.Descending)
|
|
|
|
|
},
|
|
|
|
|
IsFolder = includeItemTypes.Length == 0 ? false : (bool?)null,
|
|
|
|
|
ExcludeItemTypes = excludeItemTypes,
|
|
|
|
|
IsVirtualItem = false,
|
|
|
|
|