mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 19:37:55 +02:00
Merge pull request #6681 from dmitrylyzo/fix-latest-sort-order
This commit is contained in:
commit
6ab412ed00
1 changed files with 6 additions and 1 deletions
|
@ -355,7 +355,12 @@ namespace Emby.Server.Implementations.Library
|
||||||
var query = new InternalItemsQuery(user)
|
var query = new InternalItemsQuery(user)
|
||||||
{
|
{
|
||||||
IncludeItemTypes = includeItemTypes,
|
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,
|
IsFolder = includeItemTypes.Length == 0 ? false : (bool?)null,
|
||||||
ExcludeItemTypes = excludeItemTypes,
|
ExcludeItemTypes = excludeItemTypes,
|
||||||
IsVirtualItem = false,
|
IsVirtualItem = false,
|
||||||
|
|
Loading…
Reference in a new issue