master
vitalif 2013-02-19 10:56:44 +00:00
parent 47509a3ff2
commit f452ac0704
2 changed files with 3 additions and 3 deletions

View File

@ -850,7 +850,7 @@ class OLAP
function build_tables($group_fields, &$data, &$tdkeys)
{
$bytype = array();
$bytype = array('td' => array(), 'tr' => array());
foreach ($group_fields as &$gf)
$bytype[$gf['type']][] = &$gf;
$tables = $this->recurse_tables($group_fields, $bytype, $data, $tdkeys);

View File

@ -1,8 +1,8 @@
<!-- IF tables.0.desc -->;<!-- END -->
<!-- IF tables[0].desc -->;<!-- END -->
<!-- FOR table = tables -->
<!-- IF table.desc -->"
<!-- FOR d = table.desc -->
<!-- IF d# -->, <!-- END -->{d.field}<!-- IF d.func --> ({lc d.func})<!-- END -->: {d.value}
<!-- IF d_index -->, <!-- END -->{d.field}<!-- IF d.func --> ({lc d.func})<!-- END -->: {d.value}
<!-- END -->"
<!-- END -->