diff options
author | Max <post@wickenrode.com> | 2015-12-06 18:52:59 +0100 |
---|---|---|
committer | Max <post@wickenrode.com> | 2015-12-06 18:52:59 +0100 |
commit | 798786abe2677d01475ac738bb91bb057c3dc02c (patch) | |
tree | 1a92dc62096fff162f08cb8d31e9e5f418c4191a | |
parent | 966ee1615e16bf1e4864d61d5346296d546f6227 (diff) | |
parent | 8ad55ac0c2121c9c2b5061d208a2063299b9b4cb (diff) | |
download | sequelpro-798786abe2677d01475ac738bb91bb057c3dc02c.tar.gz sequelpro-798786abe2677d01475ac738bb91bb057c3dc02c.tar.bz2 sequelpro-798786abe2677d01475ac738bb91bb057c3dc02c.zip |
Merge branch 'master' of https://github.com/sequelpro/sequelpro
-rw-r--r-- | Source/SPGotoDatabaseController.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPGotoDatabaseController.m b/Source/SPGotoDatabaseController.m index b4c11a8c..54e4a22f 100644 --- a/Source/SPGotoDatabaseController.m +++ b/Source/SPGotoDatabaseController.m @@ -303,7 +303,7 @@ static BOOL StringQualifiesForWordSearch(NSString *s); NSUInteger mgc2 = [[(SPGotoFilteredItem *)obj2 matches] count]; if(mgc1 < mgc2) return NSOrderedAscending; - if(mgc2 > mgc1) + if(mgc2 < mgc1) return NSOrderedDescending; } // For strings with the same number of match groups we just sort alphabetically |