/trunk/modules/recherche/Recherche.php |
---|
66,7 → 66,7 |
$approche = $this->rechercherNomApproche($noms); |
} elseif ($res['entete']['total'] == 1 || $this->submit == $form['fiche']) { // renvoie à la fiche |
$ids = array_keys($res['resultat']); |
$url = $this->urls->obtenirUrlFiche($ids[0], $this->type_nom, $this->nom, $res['resultat'][$ids[0]][nom_sci]); |
$url = $this->urls->obtenirUrlFiche($ids[0], $this->type_nom, $this->nom); |
$this->redirigerVers($url); |
} else { // affiche les résultats |
$res['type'] = $this->type_nom; |