From: Matt S Trout Date: Sat, 26 Oct 2013 19:14:09 +0000 (+0000) Subject: render order by elements without quoting to get identifier names in _extract_order_cr... X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=daa6fd83b6d3c7c5bea27d39d94e9d91452cb46c;p=dbsrgits%2FDBIx-Class.git render order by elements without quoting to get identifier names in _extract_order_criteria --- diff --git a/lib/DBIx/Class/Storage/DBIHacks.pm b/lib/DBIx/Class/Storage/DBIHacks.pm index 0c4b507..ab49ec6 100644 --- a/lib/DBIx/Class/Storage/DBIHacks.pm +++ b/lib/DBIx/Class/Storage/DBIHacks.pm @@ -821,6 +821,8 @@ sub _extract_order_criteria { $order_dq = $order_dq->{from}; } + delete local @{$sql_maker}{qw(quote_char renderer converter)}; + return map { [ $sql_maker->_render_dq($_) ] } @by; my $parser = sub {