aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorKevin Cozens2018-07-06 21:26:16 -0400
committerKevin Cozens2018-07-06 21:28:18 -0400
commite5238cadf7aa73d52113bcec53cc8bbed0bd4a6f (patch)
tree7d9f37b8317deaa1e447732e6fd97e6908f31e3f /OpenSim
parentjust remove the test instead (diff)
downloadopensim-SC-e5238cadf7aa73d52113bcec53cc8bbed0bd4a6f.zip
opensim-SC-e5238cadf7aa73d52113bcec53cc8bbed0bd4a6f.tar.gz
opensim-SC-e5238cadf7aa73d52113bcec53cc8bbed0bd4a6f.tar.bz2
opensim-SC-e5238cadf7aa73d52113bcec53cc8bbed0bd4a6f.tar.xz
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.
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Services/GridService/GridService.cs2
1 files changed, 1 insertions, 1 deletions
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
494 { 494 {
495// m_log.DebugFormat("[GRID SERVICE]: GetRegionsByName {0}", name); 495// m_log.DebugFormat("[GRID SERVICE]: GetRegionsByName {0}", name);
496 496
497 List<RegionData> rdatas = m_Database.Get(Util.EscapeForLike(name) + "%", scopeID); 497 List<RegionData> rdatas = m_Database.Get("%" + Util.EscapeForLike(name) + "%", scopeID);
498 498
499 int count = 0; 499 int count = 0;
500 List<GridRegion> rinfos = new List<GridRegion>(); 500 List<GridRegion> rinfos = new List<GridRegion>();