Duh
Peter Rabbitson [Fri, 3 Jul 2009 17:54:04 +0000 (17:54 +0000)]
lib/DBIx/Class/SQLAHacks.pm

index 8399cf0..c98cfdb 100644 (file)
@@ -248,7 +248,7 @@ sub _Top {
     }
   }
   for my $col (keys %col_aliases) {
-    $order_by_inner =~ s/\s+$col\s+/$col_aliases{$col}/g;
+    $order_by_inner =~ s/\s+$col\s+/ $col_aliases{$col} /g;
   }