projects
/
dbsrgits/DBIx-Class-Historic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
JSON dep is needed for Admin.pm itself
[dbsrgits/DBIx-Class-Historic.git]
/
lib
/
DBIx
/
Class
/
Relationship
/
HasMany.pm
diff --git
a/lib/DBIx/Class/Relationship/HasMany.pm
b/lib/DBIx/Class/Relationship/HasMany.pm
index
936238a
..
d74a9a4
100644
(file)
--- a/
lib/DBIx/Class/Relationship/HasMany.pm
+++ b/
lib/DBIx/Class/Relationship/HasMany.pm
@@
-40,7
+40,7
@@
sub has_many {
$class->throw_exception(
"No such column ${f_key} on foreign class ${f_class} ($guess)"
) if $f_class_loaded && !$f_class->has_column($f_key);
-
+
$cond = { "foreign.${f_key}" => "self.${pri}" };
}