mirror of
https://github.com/opensim/opensim.git
synced 2026-05-15 03:15:41 +08:00
This makes group search work (Groups V2).
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user