X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=dbsrgits%2FDBIx-Class.git;a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FStorage%2FDBIHacks.pm;h=dd536552470e4d5c2a4b93f5ffc97f8184704a2d;hp=2d9fd35da4f162ce20122ba23fd14842f2fa3016;hb=d64a273452933a67afa721826249b7a1978d4754;hpb=4b1b5ea39ae8cc110441ce3dc6b386cba349aff2 diff --git a/lib/DBIx/Class/Storage/DBIHacks.pm b/lib/DBIx/Class/Storage/DBIHacks.pm index 2d9fd35..dd53655 100644 --- a/lib/DBIx/Class/Storage/DBIHacks.pm +++ b/lib/DBIx/Class/Storage/DBIHacks.pm @@ -97,6 +97,7 @@ sub _adjust_select_args_for_complex_prefetch { } # construct the inner $from for the subquery + # we need to prune first, because this will determine if we need a group_bu below my $inner_from = $self->_prune_unused_joins ($from, $inner_select, $where, $inner_attrs); # if a multi-type join was needed in the subquery - add a group_by to simulate the