I'm having issues getting the dot-notation working for a has_one of a Page.
class Testimonial extends DataObject {
public static $db = array(
'Title' => 'Varchar(255)',
'Quote' => 'HTMLText',
'Tagline' => 'Varchar(255)',
'SortOrder' => 'Varchar(255)'
);
public static $has_one = array(
'BookPage' => 'BookPage',
'Image' => 'Image'
);
public static $summary_fields = array(
'BookPage.Name',
'Title',
'Quote',
'Tagline'
);
And the BookPage is a class that extends 'Page'
The BookPage.Name doesn't work in my SS3 setup. To be clear, I'm trying to view the BookPage Column so I know which page ("Book") has the testimonial.