Commit 25c8f7a3b52001bebb89001de9eb87ca2f0c0b81
1 parent
189944ac
Exists in
master
and in
6 other branches
Alteração na montagem do combo para o usuário escolher o tipo de classificação u…
…tilizado em uma camada metaestat (ao adicionar ao mapa). A opção default agora é sempre mostrada
Showing
1 changed file
with
5 additions
and
6 deletions
Show diff stats
classesphp/metaestat_controle.php
... | ... | @@ -201,14 +201,13 @@ switch (strtoupper($funcao)) { |
201 | 201 | case "LISTACLASSIFICACAOMEDIDA": |
202 | 202 | $m = new MetaestatInfo(); |
203 | 203 | $lista = $m->listaClassificacaoMedida($_pg["id_medida_variavel"], $_pg["id_classificacao"]); |
204 | - if (count($lista) == 0) { | |
205 | - $lista = array( | |
204 | + //if (count($lista) == 0) { | |
205 | + $lista[] = | |
206 | 206 | array( |
207 | 207 | "id_classificacao" => "", |
208 | - "nome" => "default" | |
209 | - ) | |
210 | - ); | |
211 | - } | |
208 | + "nome" => "default (recalcula as classes com base em quartil)" | |
209 | + ); | |
210 | + //} | |
212 | 211 | retornaJSON($lista); |
213 | 212 | exit(); |
214 | 213 | break; | ... | ... |