diff options
author | Melanie | 2010-10-18 20:29:00 +0100 |
---|---|---|
committer | Melanie | 2010-10-18 20:29:00 +0100 |
commit | 551015db6382b01d32100e91b569a5717121ccbe (patch) | |
tree | 54257fee4d1eabbf775e581ec03d8004f01597ef /OpenSim/Data/MySQL/MySQLRegionData.cs | |
parent | Merge branch 'master' of melanie@opensimulator.org:/var/git/opensim (diff) | |
download | opensim-SC_OLD-551015db6382b01d32100e91b569a5717121ccbe.zip opensim-SC_OLD-551015db6382b01d32100e91b569a5717121ccbe.tar.gz opensim-SC_OLD-551015db6382b01d32100e91b569a5717121ccbe.tar.bz2 opensim-SC_OLD-551015db6382b01d32100e91b569a5717121ccbe.tar.xz |
Alphabetize results on region search by prefix matching
Diffstat (limited to 'OpenSim/Data/MySQL/MySQLRegionData.cs')
-rw-r--r-- | OpenSim/Data/MySQL/MySQLRegionData.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Data/MySQL/MySQLRegionData.cs b/OpenSim/Data/MySQL/MySQLRegionData.cs index baa948e..efefad9 100644 --- a/OpenSim/Data/MySQL/MySQLRegionData.cs +++ b/OpenSim/Data/MySQL/MySQLRegionData.cs | |||
@@ -62,6 +62,8 @@ namespace OpenSim.Data.MySQL | |||
62 | if (scopeID != UUID.Zero) | 62 | if (scopeID != UUID.Zero) |
63 | command += " and ScopeID = ?scopeID"; | 63 | command += " and ScopeID = ?scopeID"; |
64 | 64 | ||
65 | command += " order by regionName"; | ||
66 | |||
65 | using (MySqlCommand cmd = new MySqlCommand(command)) | 67 | using (MySqlCommand cmd = new MySqlCommand(command)) |
66 | { | 68 | { |
67 | cmd.Parameters.AddWithValue("?regionName", regionName); | 69 | cmd.Parameters.AddWithValue("?regionName", regionName); |