mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
update IsFolder sorting
This commit is contained in:
parent
50e29476f7
commit
64f51a3643
@ -1574,6 +1574,10 @@ namespace MediaBrowser.Server.Implementations.Persistence
|
|||||||
{
|
{
|
||||||
return "RuntimeTicks";
|
return "RuntimeTicks";
|
||||||
}
|
}
|
||||||
|
if (string.Equals(name, ItemSortBy.IsFolder, StringComparison.OrdinalIgnoreCase))
|
||||||
|
{
|
||||||
|
return "IsFolder";
|
||||||
|
}
|
||||||
if (string.Equals(name, ItemSortBy.Random, StringComparison.OrdinalIgnoreCase))
|
if (string.Equals(name, ItemSortBy.Random, StringComparison.OrdinalIgnoreCase))
|
||||||
{
|
{
|
||||||
return "RANDOM()";
|
return "RANDOM()";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user