From: Justin Guenther Date: Thu, 18 May 2006 22:11:20 +0000 (+0000) Subject: fixed small error in the SYNOPSIS of ResultSetManager.pm X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=63e9e431a5b0dbd05bfe3c12e25703db51e1b0eb;p=dbsrgits%2FDBIx-Class-Historic.git fixed small error in the SYNOPSIS of ResultSetManager.pm --- diff --git a/lib/DBIx/Class/ResultSetManager.pm b/lib/DBIx/Class/ResultSetManager.pm index a0911bc..f5a62b4 100644 --- a/lib/DBIx/Class/ResultSetManager.pm +++ b/lib/DBIx/Class/ResultSetManager.pm @@ -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' });