From: Peter Rabbitson Date: Sat, 12 Dec 2009 13:37:48 +0000 (+0000) Subject: prefetch does not get disassembled properly X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=3670702b4ecbbeefd844962afebf47e1b635db91;p=dbsrgits%2FDBIx-Class-Historic.git prefetch does not get disassembled properly --- diff --git a/t/746mssql.t b/t/746mssql.t index e34d0f0..03477bd 100644 --- a/t/746mssql.t +++ b/t/746mssql.t @@ -337,14 +337,14 @@ $schema->storage->_sql_maker->{name_sep} = '.'; is ($books->page(2)->count_rs->next, 1, 'Prefetched grouped search returns correct count_rs'); } -# make sure right-join-side ordering limit works +# make sure right-join-side single-prefetch ordering limit works { my $rs = $schema->resultset ('BooksInLibrary')->search ( { 'owner.name' => [qw/wiggle woggle/], }, { - join => 'owner', + prefetch => 'owner', order_by => { -desc => 'owner.name' }, } );