This makes group search work (Groups V2).

This commit is contained in:
Diva Canto
2013-07-28 09:00:28 -07:00
parent 8dff05a897
commit 170a6f0563
6 changed files with 88 additions and 2 deletions

View File

@@ -88,7 +88,7 @@ namespace OpenSim.Data.MySQL
if (string.IsNullOrEmpty(pattern))
pattern = "1 ORDER BY Name LIMIT 100";
else
pattern = string.Format("Name LIKE %{0}% ORDER BY Name LIMIT 100", pattern);
pattern = string.Format("Name LIKE '%{0}%' ORDER BY Name LIMIT 100", pattern);
return m_Groups.Get(pattern);
}