comment on issue with reserved name filter - it just doesn't work.

This commit is contained in:
Matt Parnell
2014-08-18 22:47:47 -05:00
parent 4ba5303b24
commit 9718715a17
+1
View File
@@ -485,6 +485,7 @@ public class CharacterService implements INetworkDispatch {
String combinedName = firstName + " " + lastName;
combinedName.replaceAll("\\s*$", "");
//we could consider using LIKE here, or some form of regex. either way it doesn't work right at the moment -ilikenwf
String query = "SELECT \"type\" FROM \"reservednames\" WHERE (\"match_firstname\" = TRUE AND ? ~ \"pattern\") OR (\"match_both_names\" = TRUE and ? ~ \"pattern\") ";
if (lastName != "")
{