From b20c61bf0e88d5ce2c927cc6e519a8d4cde6d458 Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Mon, 11 Mar 2019 14:21:48 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9BUG=EF=BC=9A=E5=AD=97?= =?UTF-8?q?=E5=85=B8=E8=A1=A8=E7=BB=B4=E6=8A=A4=E9=A1=B5=E9=9D=A2=E5=AD=97?= =?UTF-8?q?=E5=85=B8=E6=A0=87=E7=AD=BE=E4=B8=8B=E6=8B=89=E6=A1=86=E6=8E=92?= =?UTF-8?q?=E5=BA=8F=20closed=20#ITDMK?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit #Issue https://gitee.com/LongbowEnterprise/dashboard/issues?id=ITDMK --- Bootstrap.DataAccess/Dict.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Bootstrap.DataAccess/Dict.cs b/Bootstrap.DataAccess/Dict.cs index 322ca899..e3c1a06f 100644 --- a/Bootstrap.DataAccess/Dict.cs +++ b/Bootstrap.DataAccess/Dict.cs @@ -56,7 +56,7 @@ namespace Bootstrap.DataAccess /// 获取字典分类名称 /// /// - public virtual IEnumerable RetrieveCategories() => DictHelper.RetrieveDicts().Select(d => d.Category).Distinct(); + public virtual IEnumerable RetrieveCategories() => DictHelper.RetrieveDicts().OrderBy(d => d.Category).Select(d => d.Category).Distinct(); /// ///