Commit 992165bc1e3dbb5c799a765684bcca6fdf8bab37
1 parent
e09014db
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
... | ... | @@ -618,7 +618,7 @@ function dimensoesTabelas(){ |
618 | 618 | if($parametro["tipo"] > 5 || $parametro["tipo"] == 0){ |
619 | 619 | $outrosParametros[] = $k; |
620 | 620 | $VirtualCubeDimension[] = "<VirtualCubeDimension name='{$k}' />"; |
621 | - $u = "<DimensionUsage foreignKey='codigo' name='nome' source='{$k}'/>"; | |
621 | + $u = "<DimensionUsage foreignKey='".$parametro["coluna"]."' name='nome' source='{$k}'/>"; | |
622 | 622 | $dimEnsoes[] = $u; |
623 | 623 | array_push($VirtualCubeDimensionDaRegiao[$c["codigo_tipo_regiao"]],"<VirtualCubeDimension name='{$k}' />"); |
624 | 624 | } | ... | ... |