update IsFolder sorting

This commit is contained in:
Luke Pulverenti 2016-04-27 13:52:43 -04:00
parent 50e29476f7
commit 64f51a3643

View file

@ -1574,6 +1574,10 @@ namespace MediaBrowser.Server.Implementations.Persistence
{
return "RuntimeTicks";
}
if (string.Equals(name, ItemSortBy.IsFolder, StringComparison.OrdinalIgnoreCase))
{
return "IsFolder";
}
if (string.Equals(name, ItemSortBy.Random, StringComparison.OrdinalIgnoreCase))
{
return "RANDOM()";