Skip to content

Commit b5eb43f

Browse files
committed
Menu action method has moved.
Range operators should be available for RuleType.Money.
1 parent 695ba84 commit b5eb43f

2 files changed

Lines changed: 2 additions & 5 deletions

File tree

src/Libraries/SmartStore.Core/Rules/RuleType.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
using System;
22
using System.Collections.Generic;
3-
using System.Linq;
4-
using System.Text;
5-
using System.Threading.Tasks;
63

74
namespace SmartStore.Rules
85
{
@@ -53,7 +50,7 @@ public IEnumerable<RuleOperator> GetValidOperators()
5350
yield return RuleOperator.IsNotEqualTo;
5451
}
5552

56-
if (nonNullableType == typeof(int) || nonNullableType == typeof(float) || nonNullableType == typeof(DateTime))
53+
if (nonNullableType == typeof(int) || nonNullableType == typeof(float) || nonNullableType == typeof(DateTime) || nonNullableType == typeof(decimal))
5754
{
5855
yield return RuleOperator.GreaterThanOrEqualTo;
5956
yield return RuleOperator.GreaterThan;

src/Presentation/SmartStore.Web.Framework/UI/Menus/MenuFilter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ private void ProcessUserMenus()
150150
_widgetProvider.RegisterAction(
151151
info.WidgetZones,
152152
"Menu",
153-
"Common",
153+
"Menu",
154154
new { area = "", name = info.SystemName, template = info.Template },
155155
info.DisplayOrder);
156156
}

0 commit comments

Comments
 (0)