fix some UI bugs

This commit is contained in:
2020-06-05 15:34:13 +02:00
parent 736761abd8
commit 002bf56fcd
12 changed files with 93 additions and 21 deletions
@@ -80,7 +80,11 @@ namespace zero.Core.Extensions
}
}
if (!query.OrderBy.IsNullOrEmpty())
if (query.OrderQuery != null)
{
rawQuery = query.OrderQuery(rawQuery);
}
else if (!query.OrderBy.IsNullOrEmpty())
{
rawQuery = rawQuery.OrderBy(query.OrderBy, query.OrderIsDescending, query.OrderType == ListQueryOrderType.String ? OrderingType.String : OrderingType.Double);
}