From bfd01770485e37a2b664e6f87611b7608b4e1a14 Mon Sep 17 00:00:00 2001 From: Argo-Surface Date: Sat, 23 Feb 2019 12:43:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9BUG=EF=BC=9A=E5=88=9D?= =?UTF-8?q?=E5=A7=8B=E5=8C=96=E5=B1=82=E6=AC=A1=E8=8F=9C=E5=8D=95=E6=9C=AA?= =?UTF-8?q?=E5=8A=A0=E8=BD=BD=E5=AD=90=E8=8F=9C=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Bootstrap.Client.DataAccess/MenuHelper.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Bootstrap.Client.DataAccess/MenuHelper.cs b/Bootstrap.Client.DataAccess/MenuHelper.cs index 98155e52..e0d770ae 100644 --- a/Bootstrap.Client.DataAccess/MenuHelper.cs +++ b/Bootstrap.Client.DataAccess/MenuHelper.cs @@ -22,7 +22,7 @@ namespace Bootstrap.Client.DataAccess /// public static IEnumerable RetrieveAppMenus(string userName, string activeUrl) { - var menus = RetrieveAllMenus(userName).Where(m => m.Category == "1" && m.IsResource == 0 && m.Application == ConfigurationManager.AppSettings["AppId"]).Where(m => m.ParentId == "0").OrderBy(m => m.Application).ThenBy(m => m.Order); + var menus = RetrieveAllMenus(userName).Where(m => m.Category == "1" && m.IsResource == 0 && m.Application == ConfigurationManager.AppSettings["AppId"]); return DbHelper.CascadeMenus(menus, activeUrl); }