mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-17 22:14:26 +01:00
Allow access to global invoices list
The recent changes in 19eea3a615 prevent it to access a global/unfiltered list of invoices across all stores. This removes the fallback to the current store, which brings the global list back at `/invoices`.
This commit is contained in:
committed by
Andrew Camilleri
parent
7d3eef092c
commit
03e49ea2bf
@@ -800,7 +800,7 @@ namespace BTCPayServer.Controllers
|
||||
{
|
||||
model = this.ParseListQuery(model ?? new InvoicesModel());
|
||||
var fs = new SearchString(model.SearchTerm);
|
||||
string? storeId = (model.StoreId ?? HttpContext.GetStoreData()?.Id);
|
||||
string? storeId = model.StoreId;
|
||||
var storeIds = new HashSet<string>();
|
||||
if (fs.GetFilterArray("storeid") is string[] l)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user