From d5479dee5d30a2fba83496012a1902ae0990b018 Mon Sep 17 00:00:00 2001 From: Argo Windows Date: Fri, 1 Nov 2019 23:20:28 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=9C=AA=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE=20Sort=20=E5=B1=9E=E6=80=A7=E6=97=B6=E5=BC=82?= =?UTF-8?q?=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/admin/Bootstrap.Admin/Query/QueryLoginOption.cs | 1 + 1 file changed, 1 insertion(+) 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 {