Fix for U4-650 was incorrect, removing ASCII filters out øåæ and probably other letters as well.
It's now very exact, just look if the first letter is not in a list of 26 letters.
This commit is contained in:
@@ -125,7 +125,7 @@ namespace umbraco.cms.businesslogic.member
|
||||
|
||||
var tmp = new List<Member>();
|
||||
using (IRecordsReader dr = SqlHelper.ExecuteReader(
|
||||
string.Format(m_SQLOptimizedMany.Trim(), "(SUBSTRING(text, 1, 1) NOT BETWEEN 'a' AND 'z') AND (SUBSTRING(text, 1, 1) NOT BETWEEN 'A' AND 'Z')", "umbracoNode.text"),
|
||||
string.Format(m_SQLOptimizedMany.Trim(), "AND LOWER(SUBSTRING(text, 1, 1)) not in ('a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z')", "umbracoNode.text"),
|
||||
SqlHelper.CreateParameter("@nodeObjectType", Member._objectType)))
|
||||
{
|
||||
while (dr.Read())
|
||||
|
||||
Reference in New Issue
Block a user