Hi, I have a table of dates
class TournamentDate extends DataObject{
static $db = array(
"TournamentDateTime" => "SS_Datetime"
);
}
if I view the data in the ModelAdmin, the summary fields consist of the record ID.
If I add
static $summary_fields = array(
"TournamentDateTime" => "Tournament Date"
);
the ModelAdmin displays nothing. It just says "No items found", even though looking at the tables, I can see there's two records.
Why?
And how do I get around this?