fixed small error in the SYNOPSIS of ResultSetManager.pm
Justin Guenther [Thu, 18 May 2006 22:11:20 +0000 (22:11 +0000)]
lib/DBIx/Class/ResultSetManager.pm

index a0911bc..f5a62b4 100644 (file)
@@ -22,7 +22,7 @@ use Class::Inspector;
     my $cond = shift;
     my $attrs = shift || {};
     $attrs->{order_by} = 'year DESC';
-    $self->next::method($cond, $attrs);
+    $self->search($cond, $attrs);
   }
 
   $rs = $schema->resultset('CD')->search_by_year_desc({ artist => 'Tool' });