139,6 → 139,13 |
// requête spéciale de recherche de tous les synonymes et du nom retenu d'un paramétre |
if (isset($parametres['tax']) && ($parametres['tax'] == 1)) { |
$resultat = $this->chercherSynonymes($rechercheDao, $parametres); |
} else if (isset($parametres['classif'])) { |
$this->chargerTableauManuel('presence'); |
$donnees['valeur_presence'] = $this->tableau_manuel['presence']; |
$donnees['referentiel'] = $this->referentiel; |
$donnees['fragmenteur'] = $this->gererFragmenteur($rechercheDao, $parametres, 'NombreClassif'); |
$donnees['resultats'] = $rechercheDao->chercher('Classification', $parametres); |
$resultat = $this->getVue('resultat_recherche', $donnees); |
} else { |
$this->chargerTableauManuel('presence'); |
$donnees['valeur_presence'] = $this->tableau_manuel['presence']; |
195,7 → 202,7 |
$parametres = array('mots' => ''); |
$cle_precedente = null; |
foreach ($mots as $mot) { |
if (preg_match('/^(sg|gen|sp|ssp|au|an|nn|bib|nr|tax|pre|taxref):(.*)$/', $mot, $match)) { |
if (preg_match('/^(sg|gen|sp|ssp|au|an|nn|bib|nr|tax|pre|taxref|classif|rg):(.*)$/', $mot, $match)) { |
$cle = $match[1]; |
$cle_precedente = $cle; |
$valeur = $match[2]; |