projects
/
dbsrgits/DBIx-Class.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
fixed small error in the SYNOPSIS of ResultSetManager.pm
[dbsrgits/DBIx-Class.git]
/
lib
/
DBIx
/
Class
/
ResultSetManager.pm
diff --git
a/lib/DBIx/Class/ResultSetManager.pm
b/lib/DBIx/Class/ResultSetManager.pm
index
a0911bc
..
f5a62b4
100644
(file)
--- 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' });