mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-10 15:20:48 -05:00
add "advanced" search functionality
This commit is contained in:
@ -862,7 +862,6 @@ namespace WebfrontCore.Controllers
|
||||
private Dictionary<string, string> GetPresetPenaltyReasons() => _appConfig.PresetPenaltyReasons.Values
|
||||
.Concat(_appConfig.GlobalRules)
|
||||
.Concat(_appConfig.Servers.SelectMany(server => server.Rules ?? Array.Empty<string>()))
|
||||
.Distinct()
|
||||
.Select((value, _) => new
|
||||
{
|
||||
Value = value
|
||||
@ -872,6 +871,7 @@ namespace WebfrontCore.Controllers
|
||||
{
|
||||
Value = ""
|
||||
})
|
||||
.Distinct()
|
||||
.ToDictionary(item => item.Value, item => item.Value);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user