[Dbix-class] possible optimization bug in 0.08250

Peter Rabbitson rabbit+dbic at rabbit.us
Fri Jan 24 08:52:29 GMT 2014


On Sun, Jun 02, 2013 at 03:55:10PM +0200, Alexander Hartmaier wrote:
> One of my result classes has a rel ordered by a related column:
> 
> __PACKAGE__->has_many(
>     "entries",
>     "NAC::Model::DBIC::Table::Patch_Interface",
>     'fk_patch_request',
>     { order_by => 'row_index' },
> );
> 
> The following code used to sort by entries.row_index but doesn't any more:
> 
> my $request = $rs->find( $id, { prefetch => [
>             'rel_accept',       'rel_req_status',
>             'rel_req_customer', 'view_version',
>             'entries',
>         ],
>     });

Alex,

You never replied to my original email in this thread, and I do not seem 
to have any notes on whether we took care of this issue. Can you confirm 
please?



More information about the DBIx-Class mailing list