From 3a011f58742e4b3ea830501a5303a2c37f072151 Mon Sep 17 00:00:00 2001 From: rowanbeentje Date: Tue, 11 Aug 2009 21:47:21 +0000 Subject: - Fix table content sorting, broken in r1183 - this addresses Issue #364 --- Source/TableContent.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"]; } -- cgit v1.2.3