diff options
author | rowanbeentje <rowan@beent.je> | 2009-08-11 21:47:21 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2009-08-11 21:47:21 +0000 |
commit | 3a011f58742e4b3ea830501a5303a2c37f072151 (patch) | |
tree | d7b5ac45bdc6af3e79834662c5c71bcc3070be5e | |
parent | 9cbae0171595e4afbd6109098b89f1922c623827 (diff) | |
download | sequelpro-3a011f58742e4b3ea830501a5303a2c37f072151.tar.gz sequelpro-3a011f58742e4b3ea830501a5303a2c37f072151.tar.bz2 sequelpro-3a011f58742e4b3ea830501a5303a2c37f072151.zip |
- Fix table content sorting, broken in r1183 - this addresses Issue #364
-rw-r--r-- | Source/TableContent.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/TableContent.m b/Source/TableContent.m index a6f647d7..a14375e3 100644 --- a/Source/TableContent.m +++ b/Source/TableContent.m @@ -404,7 +404,7 @@ // Add sorting details if appropriate if (sortCol) { - [queryString appendFormat:@" ORDER BY @%", [[[dataColumns objectAtIndex:[sortCol intValue]] objectForKey:@"name"] backtickQuotedString]]; + [queryString appendFormat:@" ORDER BY %@", [[[dataColumns objectAtIndex:[sortCol intValue]] objectForKey:@"name"] backtickQuotedString]]; if (isDesc) [queryString appendString:@" DESC"]; } |