Commit c1b857d4a8091286d479f432ac6d35a7db433df5
1 parent
1b0ca66d
Exists in
master
and in
7 other branches
--no commit message
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
ferramentas/saiku/esquemaxml.php
| ... | ... | @@ -535,7 +535,7 @@ function dimensoesOutras(){ |
| 535 | 535 | $k = $d["esquemadb"]."_".$d["tabela"]."_".$d["coluna"]; |
| 536 | 536 | $xml3 .= " |
| 537 | 537 | <Dimension name='".$k."' caption='".converte($d["nome"])."'> |
| 538 | - <Hierarchy hasAll='true' primaryKey='codigo'> | |
| 538 | + <Hierarchy hasAll='false' primaryKey='codigo'> | |
| 539 | 539 | "; |
| 540 | 540 | //cria uma view juntando as tabelas da hierarquia de regioes |
| 541 | 541 | $colunas = "dim.{$d['coluna']}::text as codigo, "; |
| ... | ... | @@ -544,7 +544,7 @@ function dimensoesOutras(){ |
| 544 | 544 | $xml3 .= "<view alias='".$k."' ><SQL dialect='generic' >$sql</SQL></view>"; |
| 545 | 545 | $xml3 .= "<Level name='".converte($d["nome"])."' |
| 546 | 546 | column='codigo' |
| 547 | - nameColumn='nome' uniqueMembers='false' type='String' /> | |
| 547 | + nameColumn='nome' uniqueMembers='true' /> | |
| 548 | 548 | "; |
| 549 | 549 | $xml3 .= "</Hierarchy> |
| 550 | 550 | </Dimension>"; | ... | ... |