projects
/
dbsrgits/DBIx-Class-Historic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
d489cbe
)
pass through self attrs to rel_rs (for order_by, group_by etc.)
Matt S Trout [Tue, 11 Jul 2006 13:20:03 +0000 (13:20 +0000)]
lib/DBIx/Class/ResultSet.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/DBIx/Class/ResultSet.pm
b/lib/DBIx/Class/ResultSet.pm
index
7bb8c83
..
bbb456e
100644
(file)
--- a/
lib/DBIx/Class/ResultSet.pm
+++ b/
lib/DBIx/Class/ResultSet.pm
@@
-1426,6
+1426,9
@@
sub related_resultset {
$self->result_source->schema->resultset($rel_obj->{class})->search_rs(
undef, {
+ %{$self->{attrs}||{}},
+ join => undef,
+ prefetch => undef,
select => undef,
as => undef,
alias => $alias,