From: Moritz Onken Date: Tue, 4 Aug 2009 19:10:57 +0000 (+0000) Subject: prefetch-grouped fails, again X-Git-Tag: v0.08109~48^2~3 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=3fc4b39ed9cb03c5397a6581a77bfcbcd450470c;p=dbsrgits%2FDBIx-Class.git prefetch-grouped fails, again --- diff --git a/t/prefetch/grouped.t b/t/prefetch/grouped.t index b1718bf..af9b1f0 100644 --- a/t/prefetch/grouped.t +++ b/t/prefetch/grouped.t @@ -263,7 +263,7 @@ lives_ok (sub { ); is($rs->all, 0, 'distinct without prefetch'); - $rs = $schema->resultset("Artist")->search(undef, {distinct => 1}) + $rs = $schema->resultset("Artist")->search({artistid => '11'}, {distinct => 1}) ->search_related('cds')->search_related('genre', { 'genre.name' => 'foo' }, { prefetch => q(cds) },