27,6 → 27,7 |
public function __construct(Conteneur $conteneur = null) { |
$this->conteneur = $conteneur == null ? new Conteneur() : $conteneur; |
$this->conteneur->chargerConfiguration('config_departements.ini'); |
$this->conteneur->chargerConfiguration('config_observations.ini'); |
$this->navigation = $conteneur->getNavigation(); |
$this->masque = $conteneur->getMasque(); |
$this->gestionBdd = $conteneur->getGestionBdd(); |
192,6 → 193,9 |
case 'nn' : |
$where[] = ' '.$this->mappingFiltre['nn'].' = '.$this->proteger($valeurMasque); |
break; |
case 'ns' : |
$where[] = " nom_sel LIKE ".$this->proteger($valeurMasque.'%'); |
break; |
default: |
$where[] = ' '.$this->mappingFiltre[$idMasque].' LIKE '.$this->proteger('%'.$valeurMasque.'%'); |
} |