From: Matt S Trout Date: Tue, 11 Jul 2006 13:20:03 +0000 (+0000) Subject: pass through self attrs to rel_rs (for order_by, group_by etc.) X-Git-Tag: v0.07002~75^2~26^2~2 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=8b8f41e4ac04d05ec9e0b6750d040f85abb8181c;p=dbsrgits%2FDBIx-Class.git pass through self attrs to rel_rs (for order_by, group_by etc.) --- diff --git a/lib/DBIx/Class/ResultSet.pm b/lib/DBIx/Class/ResultSet.pm index 7bb8c83..bbb456e 100644 --- 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,