switch is_ordered to new code
Matt S Trout [Fri, 20 Apr 2012 03:09:03 +0000 (03:09 +0000)]
lib/DBIx/Class/ResultSet.pm

index fe0a815..b491e6a 100644 (file)
@@ -3075,7 +3075,7 @@ sub is_paged {
 
 sub is_ordered {
   my ($self) = @_;
-  return scalar $self->result_source->storage->_extract_order_criteria($self->{attrs}{order_by});
+  return $self->_sqla_converter->_order_by_to_dq($self->{attrs}{order_by});
 }
 
 =head2 related_resultset