Adding the sorting for the archives

This commit is contained in:
monicamuyama
2025-05-25 23:50:02 +03:00
committed by rockstardev
parent 89cd1e507b
commit 6107990bf3
2 changed files with 2 additions and 1 deletions

View File

@@ -52,6 +52,7 @@ namespace BTCPayServer.Controllers
{
Stores = stores
.Where(s => s.Archived == archived)
.OrderBy(s => s.StoreName, StringComparer.InvariantCultureIgnoreCase)
.Select(s => new ListStoresViewModel.StoreViewModel
{
StoreId = s.Id,