Skip to content
This repository was archived by the owner on Oct 23, 2024. It is now read-only.

Commit 61e108b

Browse files
authored
修复物品市场排序问题 (#31)
1 parent 1648841 commit 61e108b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/ViewModel/ViewModel.Uwp/ItemOrderPageViewModel/ItemOrderPageViewModel.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,15 +111,15 @@ private void Filter()
111111
{
112112
orders = orders.OrderBy(p => p.Platinum);
113113
}
114-
else if (CurrentOrderType.Key == PriceDescending)
114+
else if (CurrentSortType.Key == PriceDescending)
115115
{
116116
orders = orders.OrderByDescending(p => p.Platinum);
117117
}
118-
else if (CurrentOrderType.Key == CountAscending)
118+
else if (CurrentSortType.Key == CountAscending)
119119
{
120120
orders = orders.OrderBy(p => p.Quantity);
121121
}
122-
else if (CurrentOrderType.Key == CountDescending)
122+
else if (CurrentSortType.Key == CountDescending)
123123
{
124124
orders = orders.OrderByDescending(p => p.Quantity);
125125
}

0 commit comments

Comments
 (0)