mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 22:44:29 +01:00
Ordering currencies by name
This commit is contained in:
@@ -293,6 +293,7 @@ namespace BTCPayServer.Controllers
|
|||||||
CryptoImage = "/" + GetImage(kv.GetId(), kv.Network),
|
CryptoImage = "/" + GetImage(kv.GetId(), kv.Network),
|
||||||
Link = Url.Action(nameof(Checkout), new { invoiceId = invoiceId, paymentMethodId = kv.GetId().ToString() })
|
Link = Url.Action(nameof(Checkout), new { invoiceId = invoiceId, paymentMethodId = kv.GetId().ToString() })
|
||||||
}).Where(c => c.CryptoImage != "/")
|
}).Where(c => c.CryptoImage != "/")
|
||||||
|
.OrderBy(a => a.PaymentMethodName)
|
||||||
.ToList()
|
.ToList()
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user