projects
/
dbsrgits/DBIx-Class.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Fix spotty handling of complex order_by relationship attrs while prefetching
[dbsrgits/DBIx-Class.git]
/
t
/
lib
/
DBICTest
/
Schema
/
Artist.pm
diff --git
a/t/lib/DBICTest/Schema/Artist.pm
b/t/lib/DBICTest/Schema/Artist.pm
index
dd5028e
..
fdecea3
100644
(file)
--- a/
t/lib/DBICTest/Schema/Artist.pm
+++ b/
t/lib/DBICTest/Schema/Artist.pm
@@
-39,7
+39,7
@@
__PACKAGE__->mk_classdata('field_name_for', {
__PACKAGE__->has_many(
cds => 'DBICTest::Schema::CD', undef,
- { order_by => 'year' },
+ { order_by => { -asc => 'year'} },
);
__PACKAGE__->has_many(
cds_unordered => 'DBICTest::Schema::CD'