projects
/
dbsrgits/DBIx-Class-ResultSource-MultipleTableInheritance.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
remember to add the mixin class to our superclasses
[dbsrgits/DBIx-Class-ResultSource-MultipleTableInheritance.git]
/
lib
/
DBIx
/
Class
/
ResultSource
/
MultipleTableInheritance.pm
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) {