projects
/
dbsrgits/DBIx-Class-ResultSource-MultipleTableInheritance.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
8b229aa
)
remember to add the mixin class to our superclasses
Matt S Trout [Tue, 18 Aug 2009 04:53:06 +0000 (
05:53
+0100)]
lib/DBIx/Class/ResultSource/MultipleTableInheritance.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/DBIx/Class/ResultSource/MultipleTableInheritance.pm
b/lib/DBIx/Class/ResultSource/MultipleTableInheritance.pm
index
d385727
..
6ff01e3
100644
(file)
--- a/
lib/DBIx/Class/ResultSource/MultipleTableInheritance.pm
+++ b/
lib/DBIx/Class/ResultSource/MultipleTableInheritance.pm
@@
-65,6
+65,9
@@
method add_additional_parent ($source) {
{originally_defined_in => $source->name, %{$rel_info->{attrs}}},
);
}
+ { no strict 'refs';
+ push(@{$self->result_class.'::ISA'}, $source->result_class);
+ }
}
method _source_by_name ($name) {