From e5238cadf7aa73d52113bcec53cc8bbed0bd4a6f Mon Sep 17 00:00:00 2001 From: Kevin Cozens Date: Fri, 6 Jul 2018 21:26:16 -0400 Subject: 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. --- OpenSim/Services/GridService/GridService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenSim/Services/GridService/GridService.cs b/OpenSim/Services/GridService/GridService.cs index a5c7d34..78fffa6 100644 --- a/OpenSim/Services/GridService/GridService.cs +++ b/OpenSim/Services/GridService/GridService.cs @@ -494,7 +494,7 @@ namespace OpenSim.Services.GridService { // m_log.DebugFormat("[GRID SERVICE]: GetRegionsByName {0}", name); - List rdatas = m_Database.Get(Util.EscapeForLike(name) + "%", scopeID); + List rdatas = m_Database.Get("%" + Util.EscapeForLike(name) + "%", scopeID); int count = 0; List rinfos = new List(); -- cgit v1.1