update IsFolder sorting

This commit is contained in:
Luke Pulverenti 2016-04-27 13:52:43 -04:00
parent 9e8dabbb03
commit 5a894946dd

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