Search: Display text filters in search input (#5986)

* Search: Display text filters in search input

This changes the search text input to also display the filters, which don't have a special UI (e.g. dropdown). Those filters (e.g. orderid) were not displayed before and hence could not be reset.

Fixes #5984.

* Add and fix test
This commit is contained in:
d11n
2024-05-23 13:22:16 +02:00
committed by GitHub
parent 89fcf86bb4
commit c063c70b07
3 changed files with 24 additions and 11 deletions

View File

@@ -1111,7 +1111,7 @@ namespace BTCPayServer.Controllers
storeIds.Add(i);
}
model.Search = fs;
model.SearchText = fs.TextSearch;
model.SearchText = fs.TextCombined;
var apps = await _appService.GetAllApps(GetUserId(), false, storeId);
InvoiceQuery invoiceQuery = GetInvoiceQuery(fs, apps, timezoneOffset);