Commit e09014db05d09822c8e4bc0c72352601c0ab368d
1 parent
22d46641
Exists in
master
and in
7 other branches
--no commit message
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
ferramentas/saiku/esquemaxml.php
... | ... | @@ -540,7 +540,7 @@ function dimensoesOutras(){ |
540 | 540 | //cria uma view juntando as tabelas da hierarquia de regioes |
541 | 541 | $colunas = "dim.{$d['coluna']}::text as codigo, "; |
542 | 542 | $colunas .= "dim.{$d['coluna']} AS nome"; |
543 | - $sql = "SELECT {$colunas} FROM ".$d['esquemadb'].".".$d['tabela']." as dim group by codigo"; | |
543 | + $sql = "SELECT {$colunas} FROM ".$d['esquemadb'].".".$d['tabela']." as dim group by codigo,nome"; | |
544 | 544 | $xml3 .= "<view alias='".$k."' ><SQL dialect='generic' >$sql</SQL></view>"; |
545 | 545 | $xml3 .= "<Level name='".converte($d["nome"])."' |
546 | 546 | column='codigo' | ... | ... |