diff --git a/src/admin/Bootstrap.Admin/Query/QueryLoginOption.cs b/src/admin/Bootstrap.Admin/Query/QueryLoginOption.cs index e8ec48ec..11be5093 100644 --- a/src/admin/Bootstrap.Admin/Query/QueryLoginOption.cs +++ b/src/admin/Bootstrap.Admin/Query/QueryLoginOption.cs @@ -31,6 +31,7 @@ namespace Bootstrap.Admin.Query public QueryData RetrieveData() { if (string.IsNullOrEmpty(Order)) Order = "desc"; + if (string.IsNullOrEmpty(Sort)) Sort = "LoginTime"; var data = LoginHelper.RetrievePages(this, StartTime, EndTime, LoginIP); return new QueryData {