|
|
@ -3016,8 +3016,8 @@ namespace Emby.Server.Implementations.Data
|
|
|
|
return " ORDER BY " + string.Join(',', orderBy.Select(i =>
|
|
|
|
return " ORDER BY " + string.Join(',', orderBy.Select(i =>
|
|
|
|
{
|
|
|
|
{
|
|
|
|
var columnMap = MapOrderByField(i.OrderBy, query);
|
|
|
|
var columnMap = MapOrderByField(i.OrderBy, query);
|
|
|
|
|
|
|
|
var sortOrder = columnMap.SortOrder == SortOrder.Ascending ? "ASC" : "DESC";
|
|
|
|
return columnMap.SortBy + " " + columnMap.SortOrder;
|
|
|
|
return columnMap.SortBy + " " + sortOrder;
|
|
|
|
}));
|
|
|
|
}));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|