bah.
Matt S Trout [Sun, 16 Jul 2006 20:32:14 +0000 (20:32 +0000)]
lib/DBIx/Class/Storage/DBI.pm

index c485257..e1c37d0 100644 (file)
@@ -118,7 +118,7 @@ sub _order_by {
       $ret .= $self->_sqlcase(' having ').$frag;
     }
     if (defined $_[0]->{order_by}) {
-      $ret .= $self->SUPER::_order_by($_[0]->{order_by});
+      $ret .= $self->_order_by($_[0]->{order_by});
     }
   } elsif (ref $_[0] eq 'SCALAR') {
     $ret = $self->_sqlcase(' order by ').${ $_[0] };