Ordered now works correctly with MC too \o/
[dbsrgits/DBIx-Class-Historic.git] / t / lib / DBICTest / Schema / Collection.pm
index d9e4a5a..1c11dc6 100644 (file)
@@ -21,10 +21,10 @@ __PACKAGE__->has_many( collection_object => "DBICTest::Schema::CollectionObject"
                      );\r
 __PACKAGE__->many_to_many( objects => collection_object => "object" );\r
 __PACKAGE__->many_to_many( pointy_objects => collection_object => "object",\r
-                           { where => { "type" => "pointy" } } \r
+                           { where => { "object.type" => "pointy" } }\r
                          );\r
 __PACKAGE__->many_to_many( round_objects => collection_object => "object",\r
-                           { where => { "type" => "round" } } \r
+                           { where => { "object.type" => "round" } } \r
                          );\r
 \r
 1;\r