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

@@ -313,6 +313,10 @@ namespace OpenSim.Groups
m_log.DebugFormat(
"[Groups]: {0} called with queryText({1}) queryFlags({2}) queryStart({3})",
System.Reflection.MethodBase.GetCurrentMethod().Name, queryText, (DirFindFlags)queryFlags, queryStart);
if (string.IsNullOrEmpty(queryText))
remoteClient.SendDirGroupsReply(queryID, new DirGroupsReplyData[0]);
// TODO: This currently ignores pretty much all the query flags including Mature and sort order
remoteClient.SendDirGroupsReply(queryID, m_groupData.FindGroups(GetRequestingAgentIDStr(remoteClient), queryText).ToArray());