Subversion Repositories eFlore/Applications.del

Rev

Rev 2171 | Rev 2185 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2171 Rev 2182
Line 360... Line 360...
360
	}
360
	}
Line 361... Line 361...
361
 
361
 
362
	private function ajouterContrainteReferentiel() {
362
	private function ajouterContrainteReferentiel() {
363
		if (isset($this->parametres['masque.referentiel'])) {
363
		if (isset($this->parametres['masque.referentiel'])) {
364
			$ref = $this->parametres['masque.referentiel'];
364
			$ref = $this->parametres['masque.referentiel'];
365
			$refMotif = $this->bdd->proteger("$ref%");
365
			$refMotif = $this->bdd->proteger("$ref");
Line 366... Line 366...
366
			$this->addWhere('masque.referentiel', "do.nom_referentiel LIKE $refMotif");
366
			$this->addWhere('masque.referentiel', "do.nom_referentiel = $refMotif");
367
 
367
 
368
			$this->ajouterJoinObsSiNecessaire();
368
			$this->ajouterJoinObsSiNecessaire();