Back-end fix for region name searches made from the viewer grid map dialog.
GetRegionsByName now returns names that include, but don't start with, the given search string.httptests
parent
8ac69a5d27
commit
e5238cadf7
|
@ -494,7 +494,7 @@ namespace OpenSim.Services.GridService
|
|||
{
|
||||
// m_log.DebugFormat("[GRID SERVICE]: GetRegionsByName {0}", name);
|
||||
|
||||
List<RegionData> rdatas = m_Database.Get(Util.EscapeForLike(name) + "%", scopeID);
|
||||
List<RegionData> rdatas = m_Database.Get("%" + Util.EscapeForLike(name) + "%", scopeID);
|
||||
|
||||
int count = 0;
|
||||
List<GridRegion> rinfos = new List<GridRegion>();
|
||||
|
|
Loading…
Reference in New Issue