MemberAdminWindow: Allow search filter to be 2 characters long (instead of 3)

This commit is contained in:
2024-02-10 18:15:13 +01:00
parent 7c23f9bdae
commit 59cd69ddaf

View File

@ -160,7 +160,7 @@ namespace Elwig.Windows {
filter.RemoveAt(i--); filter.RemoveAt(i--);
} else if (e.Length > 2 && e.StartsWith('"') && e.EndsWith('"')) { } else if (e.Length > 2 && e.StartsWith('"') && e.EndsWith('"')) {
filter[i] = e[1..^1]; filter[i] = e[1..^1];
} else if (e.Length <= 2) { } else if (e.Length < 2) {
filter.RemoveAt(i--); filter.RemoveAt(i--);
} }
} }