Include text search in admin logs db query (#9274)

This commit is contained in:
DrSmugleaf
2022-06-29 09:53:58 +02:00
committed by GitHub
parent c3a164b906
commit fedd63118c
4 changed files with 7 additions and 4 deletions

View File

@@ -45,6 +45,7 @@ public static class AdminLogsEuiMsg
{
public LogsRequest(
int? roundId,
string? search,
HashSet<LogType>? types,
HashSet<LogImpact>? impacts,
DateTime? before,
@@ -55,6 +56,7 @@ public static class AdminLogsEuiMsg
DateOrder dateOrder)
{
RoundId = roundId;
Search = search;
Types = types;
Impacts = impacts;
Before = before;
@@ -66,6 +68,7 @@ public static class AdminLogsEuiMsg
}
public int? RoundId { get; set; }
public string? Search { get; set; }
public HashSet<LogType>? Types { get; set; }
public HashSet<LogImpact>? Impacts { get; set; }
public DateTime? Before { get; set; }