42,7 → 42,7 |
private function construireUrlRecherche($type, $parametres, $limitation = true) { |
$url = $this->url_jrest.self::SERVICE.'/'.$type; |
|
$params_a_passer = array('mots', 'sci', 'bot', 'zg', 'p', 'pr', 'str-d'); |
$params_a_passer = array('mots', 'sci', 'bot', 'zg', 'p', 'pr', 'str-d', 'veg'); |
foreach ($params_a_passer as $param_cle) { |
if (isset($parametres[$param_cle]) && $parametres[$param_cle] != '') { |
$valeur = urlencode(trim($parametres[$param_cle])); |
58,7 → 58,6 |
} else { |
$url .= "?distinct={$this->getDistinction()}"; |
} |
|
return $url; |
} |
} |