using value/related_object for related objects
edenc [Mon, 22 Dec 2008 16:22:55 +0000 (16:22 +0000)]
lib/Reaction/UI/ViewPort/Collection/Grid/Member.pm

index 473fc0e..02629a2 100644 (file)
@@ -30,7 +30,7 @@ around _build_fields_for_type_Reaction_Types_Core_SimpleStr => sub {
 };
 
 around _build_fields_for_type_Reaction_InterfaceModel_Object => sub {
-  $_[0]->(@_[1,2], { layout => 'value/string', %{ $_[3] || {} } })
+  $_[0]->(@_[1,2], { layout => 'value/related_object', %{ $_[3] || {} } })
 };
 
 around _build_fields_for_type_Reaction_Types_DateTime_DateTime => sub {