Subversion Repositories eFlore/Applications.del

Rev

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

Rev 2181 Rev 2183
Line 286... Line 286...
286
	}
286
	}
Line 287... Line 287...
287
 
287
 
288
	private function ajouterContrainteDepartement() {
288
	private function ajouterContrainteDepartement() {
289
		if (isset($this->parametres['masque.departement'])) {
289
		if (isset($this->parametres['masque.departement'])) {
290
			$dept = $this->parametres['masque.departement'];
290
			$dept = $this->parametres['masque.departement'];
291
			$deptMotif = $this->bdd->proteger("INSEE-C:$dept");
291
			$deptMotif = $this->bdd->proteger("$dept");
Line 292... Line 292...
292
			$this->addWhere('masque.departement', "do.ce_zone_geo LIKE $deptMotif");
292
			$this->addWhere('masque.departement', "substr(do.ce_zone_geo, 1, 2) = $deptMotif");
293
 
293
 
294
			$this->ajouterJoinObsSiNecessaire();
294
			$this->ajouterJoinObsSiNecessaire();