mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
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.
This commit is contained in:
@@ -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>();
|
||||
|
||||
Reference in New Issue
Block a user