diff --git a/BTCPayServer/SearchString.cs b/BTCPayServer/SearchString.cs
index c2eb57fe1..03d9348f3 100644
--- a/BTCPayServer/SearchString.cs
+++ b/BTCPayServer/SearchString.cs
@@ -127,8 +127,6 @@ namespace BTCPayServer
return DateTimeOffset.UtcNow.AddDays(-3).AddMinutes(timezoneOffset);
case "-7d":
return DateTimeOffset.UtcNow.AddDays(-7).AddMinutes(timezoneOffset);
- case "alltime":
- return null; // No filtering by date, so return null
}
// default parsing logic
@@ -157,6 +155,5 @@ namespace BTCPayServer
var value = str.Trim().TrimStart(FilterSeparator).TrimEnd(FilterSeparator);
return string.IsNullOrEmpty(value) ? " " : value;
}
-
}
}
diff --git a/BTCPayServer/Views/UIInvoice/ListInvoices.cshtml b/BTCPayServer/Views/UIInvoice/ListInvoices.cshtml
index 41a518a54..4685e40ca 100644
--- a/BTCPayServer/Views/UIInvoice/ListInvoices.cshtml
+++ b/BTCPayServer/Views/UIInvoice/ListInvoices.cshtml
@@ -250,11 +250,6 @@
{
7 Days
}
- else if (HasArrayFilter("startdate", "alltime"))
- {
- All Time
- }
-
else
{
Custom
@@ -269,7 +264,6 @@
Last 24 hours
Last 3 days
Last 7 days
- All Time