{"comment":{"created_at":"2011-10-16T20:47:48Z","body":"K.  That is fixed. \r\n\r\nNow my final issue.  I'm trying to include fields from a hasmany table that relates to my primary table.\r\n\r\nI modified getReportableFields to reference one of my other tables.  In the example code below I have a primary table \"Family\" and another table \"Individual\".  The relationship that relates them is \"Individuals\".  So here is the code:\r\n\r\nprotected function getReportableFields() {\r\n\t\t$fields = array(\r\n\t\t\t'ID' => 'ID',\r\n\t\t\t'Created' => 'Created',\r\n\t\t\t'LastModified' => 'LastModified',\r\n\t\t);\r\n\t\tif ($this->ReportOn) {\r\n\t\t\t$dbfields = Object::combined_static($this->ReportOn, 'db');\r\n                        $addtl=array('Individuals.FirstName'=>'Individuals.FirstName');\r\n\t\t\t$fields=array_merge($fields,$dbfields);\r\n                        $fields=array_merge($fields,$addtl);\r\n                        $fields = array_combine(array_keys($fields), array_keys($fields));\r\n                        ....\r\n\r\nThe field is displayed but comes up blank when I generate the report.  How do I get the report to pull the selected field value from a hasmany relationship?\r\n\r\n}","updated_at":"2011-10-16T20:47:48Z","url":"https://api.github.com/repos/nyeholt/silverstripe-advancedreports/issues/comments/2422959","id":2422959,"user":{"gravatar_id":"152653fd2ab97aa9e7fa8ba8f6a8f6a0","avatar_url":"https://secure.gravatar.com/avatar/152653fd2ab97aa9e7fa8ba8f6a8f6a0?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/srmcatee","id":1028243,"login":"srmcatee"}},"action":"created","issue":{"number":1,"created_at":"2011-09-05T19:56:42Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"Is it in tthe roadmap to add field values from the hasmany or manymany relationship?","comments":4,"title":"Fields from HasMany Relationship","updated_at":"2011-10-16T20:47:48Z","url":"https://api.github.com/repos/nyeholt/silverstripe-advancedreports/issues/1","id":1573051,"assignee":null,"milestone":null,"closed_at":null,"user":{"gravatar_id":"152653fd2ab97aa9e7fa8ba8f6a8f6a0","avatar_url":"https://secure.gravatar.com/avatar/152653fd2ab97aa9e7fa8ba8f6a8f6a0?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/srmcatee","id":1028243,"login":"srmcatee"},"html_url":"https://github.com/nyeholt/silverstripe-advancedreports/issues/1","labels":[],"state":"open"},"legacy":{"issue_id":1573051,"comment_id":2422959}}