Subversion Repositories eFlore/Projets.eflore-projets

Rev

Rev 1114 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1114 Rev 1130
Line 42... Line 42...
42
 
42
 
43
	public function traiterParametresSpecifiques() {
43
	public function traiterParametresSpecifiques() {
44
		foreach ($this->parametres as $param => $val) {
44
		foreach ($this->parametres as $param => $val) {
45
			switch ($param) {
45
			switch ($param) {
-
 
46
				case 'masque' :
-
 
47
					$champ = isset($this->parametres['recherche']) && ($this->parametres['recherche'] == 'etendue') ? 
46
				case 'masque' :
48
							'CONCAT(nom_sci," ",auteur)' : 'nom_sci';
47
					$this->ajouterFiltreMasque('nom_sci', $val);
49
					$this->ajouterFiltreMasque($champ, $val);
48
					break;
50
					break;
49
				case 'masque.sg' :
51
				case 'masque.sg' :
50
					$this->ajouterFiltreMasque('nom_supra_generique', $val);
52
					$this->ajouterFiltreMasque('nom_supra_generique', $val);
51
					break;
53
					break;