mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 08:55:56 +08:00
Change substring matching to prefix matching in region search. This affects
both map and login, as they use the same method.
This commit is contained in:
@@ -323,7 +323,7 @@ namespace OpenSim.Services.GridService
|
||||
{
|
||||
m_log.DebugFormat("[GRID SERVICE]: GetRegionsByName {0}", name);
|
||||
|
||||
List<RegionData> rdatas = m_Database.Get("%" + name + "%", scopeID);
|
||||
List<RegionData> rdatas = m_Database.Get(name + "%", scopeID);
|
||||
|
||||
int count = 0;
|
||||
List<GridRegion> rinfos = new List<GridRegion>();
|
||||
|
||||
Reference in New Issue
Block a user