Order transactions in transaction list view

This commit is contained in:
nicolas.dorier 2018-07-27 12:03:56 +09:00
parent d2808cf662
commit 7bfdf2d11d
2 changed files with 2 additions and 1 deletions

View file

@ -2,7 +2,7 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp2.1</TargetFramework>
<Version>1.0.2.77</Version>
<Version>1.0.2.78</Version>
<NoWarn>NU1701,CA1816,CA1308,CA1810,CA2208</NoWarn>
</PropertyGroup>
<ItemGroup>

View file

@ -130,6 +130,7 @@ namespace BTCPayServer.Controllers
vm.Positive = tx.BalanceChange >= Money.Zero;
vm.Balance = tx.BalanceChange.ToString();
}
model.Transactions = model.Transactions.OrderByDescending(t => t.Timestamp).ToList();
return View(model);
}