Change substring matching to prefix matching in region search. This affects
both map and login, as they use the same method.viewer-2-initial-appearance
parent
551015db63
commit
7de30cc57b
|
@ -323,7 +323,7 @@ namespace OpenSim.Services.GridService
|
||||||
{
|
{
|
||||||
m_log.DebugFormat("[GRID SERVICE]: GetRegionsByName {0}", name);
|
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;
|
int count = 0;
|
||||||
List<GridRegion> rinfos = new List<GridRegion>();
|
List<GridRegion> rinfos = new List<GridRegion>();
|
||||||
|
|
Loading…
Reference in New Issue