Add list count to user preferences cookie (#4637)

I think it's fair to assume that the user wants to set this as a preference and it fixes #4592.
This commit is contained in:
d11n
2023-02-15 03:04:17 +01:00
committed by GitHub
parent 87eef72289
commit cc9c63c33e
3 changed files with 8 additions and 3 deletions

View File

@@ -14,13 +14,15 @@ namespace BTCPayServer
{
public ListQueryDataHolder() { }
public ListQueryDataHolder(string searchTerm, int? timezoneOffset)
public ListQueryDataHolder(string searchTerm, int? timezoneOffset, int? count)
{
SearchTerm = searchTerm;
TimezoneOffset = timezoneOffset;
Count = count;
}
public int? TimezoneOffset { get; set; }
public string SearchTerm { get; set; }
public int? Count { get; set; }
}
}