Fixed i18n / stastics DB conflict

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44505 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Jeremy Shipman 2007-11-08 03:37:45 +00:00
parent e915307052
commit 491efc6d75

View File

@ -36,7 +36,7 @@ HTML;
$ds = "var chartdata = { \n";
foreach($table as $class) {
$record = DataObject::get($class, "", "Created DESC");
$record = DataObject::get($class, "", $class.".Created DESC");
$total = $record->TotalItems();
$props = $record->toArray();