Fix: No pager in the wallet transactions list

This commit is contained in:
nicolas.dorier
2022-07-15 12:35:57 +09:00
parent f548d78907
commit 83c35328ed

View File

@@ -328,7 +328,7 @@ namespace BTCPayServer.Controllers
model.Transactions.Add(vm);
}
model.Total = model.Transactions.Count;
model.Total = preFiltering ? null : model.Transactions.Count;
model.Transactions = model.Transactions.Skip(skip).Take(count)
.ToList();
}