From 47c98c1466a9b4be2d91dc2906624101ea783c46 Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Tue, 4 Feb 2020 11:37:21 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20Exceptions=20=E6=8E=92=E5=BA=8F=E9=94=99?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/admin/Bootstrap.DataAccess/Exceptions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/admin/Bootstrap.DataAccess/Exceptions.cs b/src/admin/Bootstrap.DataAccess/Exceptions.cs index bec1cb80..dfdfe476 100644 --- a/src/admin/Bootstrap.DataAccess/Exceptions.cs +++ b/src/admin/Bootstrap.DataAccess/Exceptions.cs @@ -143,7 +143,7 @@ namespace Bootstrap.DataAccess public virtual Page RetrievePages(PaginationOption po, DateTime? startTime, DateTime? endTime) { if (string.IsNullOrEmpty(po.Sort)) po.Sort = "LogTime"; - if (string.IsNullOrEmpty(po.Order)) po.Sort = "desc"; + if (string.IsNullOrEmpty(po.Order)) po.Order = "desc"; var sql = new Sql("select * from Exceptions"); if (startTime.HasValue) sql.Append("where LogTime > @0", startTime.Value);