+BEGIN { do "./t/lib/ANFANG.pm" or die ( $@ || $! ) }
+
use strict;
use warnings;
use Test::More;
use Test::Exception;
-use lib qw(t/lib);
+
use DBICTest;
# From http://lists.scsys.co.uk/pipermail/dbix-class/2013-February/011119.html
{ 'me.position' => 2 },
{
join => { cd => 'artist' },
- 'columns' => [ 'me.title', { 'artist.cdtitle' => 'cd.title' }, 'artist.name' ],
- order_by => 'artist.name',
+ columns => [ 'me.title', { 'artist.cdtitle' => 'cd.title' }, 'artist.name' ],
+ order_by => [ 'artist.name', { -desc => 'cd.cdid' }, 'me.trackid' ],
}
);