Re: [Dbix-class] -search oddity with superfluous parameters

2008-05-29 Thread Matt S Trout
On Thu, May 15, 2008 at 09:54:45PM +0100, Aaron Crane wrote: This works: my $rs = $schema-resultset('CD')-search( { artist = 1 }, { order_by = 'id' }, ); Oddly, so does this: my $rs = $schema-resultset('CD')-search( { artist = 1 }, undef,

[Dbix-class] -search oddity with superfluous parameters

2008-05-15 Thread Aaron Crane
This works: my $rs = $schema-resultset('CD')-search( { artist = 1 }, { order_by = 'id' }, ); Oddly, so does this: my $rs = $schema-resultset('CD')-search( { artist = 1 }, undef, { order_by = 'id' }, ); I'm finding it hard to imagine