Change substring matching to prefix matching in region search. This affects
both map and login, as they use the same method.avinationmerge
parent
78a6e5489b
commit
ce3594f7f2
|
@ -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