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
Melanie 2010-10-18 22:58:04 +01:00
parent 551015db63
commit 7de30cc57b
1 changed files with 1 additions and 1 deletions

View File

@ -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>();