Subversion Repositories eFlore/Applications.eflore-consultation

Compare Revisions

Ignore whitespace Rev 215 → Rev 216

/trunk/modules/recherche/Recherche.php
27,7 → 27,7
private function afficherAccueil($donnees) {
$donnees['i18n'] = I18n::get('Recherche-accueil');
$this->setSortie(self::RENDU_CORPS, $this->getVue('recherche_accueil', $donnees));
$this->setSortie(self::RENDU_CORPS, $this->getVue('recherche_accueil', $donnees), true);
}
 
public function executerRechercheSimple() {
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]);
$url = $this->urls->obtenirUrlFiche($ids[0], $this->type_nom, $this->nom);
$this->redirigerVers($url);
} else { // affiche les résultats
$res['type'] = $this->type_nom;