projects
/
dbsrgits/DBIx-Class.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
7c5a8b6
)
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
patch
|
blob
|
blame
|
history
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' });