projects
/
dbsrgits/DBIx-Class.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Pass relationship name to _resolve_condition explicitly
[dbsrgits/DBIx-Class.git]
/
lib
/
DBIx
/
Class
/
Relationship
/
ManyToMany.pm
diff --git
a/lib/DBIx/Class/Relationship/ManyToMany.pm
b/lib/DBIx/Class/Relationship/ManyToMany.pm
index
c588419
..
675f206
100644
(file)
--- a/
lib/DBIx/Class/Relationship/ManyToMany.pm
+++ b/
lib/DBIx/Class/Relationship/ManyToMany.pm
@@
-136,7
+136,7
@@
EOW
my $link_cond;
if (ref $cond eq 'CODE') {
my ($cond_should_join, $cond_optimized) = $rel_source->_resolve_condition
- ($cond, $obj, $f_rel);
+ ($cond, $obj, $f_rel, $f_rel);
if ($cond_optimized) {
$link_cond = $cond_optimized;
} else {