fix some UI bugs
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user