mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
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:
parent
e915307052
commit
491efc6d75
@ -36,7 +36,7 @@ HTML;
|
|||||||
$ds = "var chartdata = { \n";
|
$ds = "var chartdata = { \n";
|
||||||
|
|
||||||
foreach($table as $class) {
|
foreach($table as $class) {
|
||||||
$record = DataObject::get($class, "", "Created DESC");
|
$record = DataObject::get($class, "", $class.".Created DESC");
|
||||||
$total = $record->TotalItems();
|
$total = $record->TotalItems();
|
||||||
|
|
||||||
$props = $record->toArray();
|
$props = $record->toArray();
|
||||||
|
Loading…
Reference in New Issue
Block a user