aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/MySQL/MySQLGroupsData.cs
diff options
context:
space:
mode:
authorDiva Canto2013-07-28 09:00:28 -0700
committerDiva Canto2013-07-28 09:00:28 -0700
commit170a6f0563c9b9e228dad0b1db5654f2114a05f4 (patch)
tree73d77710d77edb36e7efa0d1428a83fb941f0b1b /OpenSim/Data/MySQL/MySQLGroupsData.cs
parentMore on group chat: only root agents should subscribe to OnInstantMessage, or... (diff)
downloadopensim-SC_OLD-170a6f0563c9b9e228dad0b1db5654f2114a05f4.zip
opensim-SC_OLD-170a6f0563c9b9e228dad0b1db5654f2114a05f4.tar.gz
opensim-SC_OLD-170a6f0563c9b9e228dad0b1db5654f2114a05f4.tar.bz2
opensim-SC_OLD-170a6f0563c9b9e228dad0b1db5654f2114a05f4.tar.xz
This makes group search work (Groups V2).
Diffstat (limited to '')
-rw-r--r--OpenSim/Data/MySQL/MySQLGroupsData.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Data/MySQL/MySQLGroupsData.cs b/OpenSim/Data/MySQL/MySQLGroupsData.cs
index 2a1bd6c..0318284 100644
--- a/OpenSim/Data/MySQL/MySQLGroupsData.cs
+++ b/OpenSim/Data/MySQL/MySQLGroupsData.cs
@@ -88,7 +88,7 @@ namespace OpenSim.Data.MySQL
88 if (string.IsNullOrEmpty(pattern)) 88 if (string.IsNullOrEmpty(pattern))
89 pattern = "1 ORDER BY Name LIMIT 100"; 89 pattern = "1 ORDER BY Name LIMIT 100";
90 else 90 else
91 pattern = string.Format("Name LIKE %{0}% ORDER BY Name LIMIT 100", pattern); 91 pattern = string.Format("Name LIKE '%{0}%' ORDER BY Name LIMIT 100", pattern);
92 92
93 return m_Groups.Get(pattern); 93 return m_Groups.Get(pattern);
94 } 94 }