Subversion Repositories eFlore/Projets.eflore-projets

Rev

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

Rev 909 Rev 944
Line 90... Line 90...
90
			
90
			
91
			$this->champs_recherches = " {$this->tables['baseflor']}.num_nomen as 'baseflor.nn',
91
			$this->champs_recherches = " {$this->tables['baseflor']}.num_nomen as 'baseflor.nn',
92
						{$this->tables['baseflor']}.BDNT as 'baseflor.bdnt', 
92
						{$this->tables['baseflor']}.BDNT as 'baseflor.bdnt', 
93
						{$this->tables['baseflor']}.catminat_code,
93
						{$this->tables['baseflor']}.catminat_code,
94
						{$this->tables['baseflor']}.num_taxon , 
94
						{$this->tables['baseflor']}.num_taxon , 
95
						{$this->tables['baseflor']}.idiotaxon , 
95
						{$this->tables['baseflor']}.nom_sci , 
96
						{$this->tables['rangSup']}.num_nomen as 'rangSup.nn', 
96
						{$this->tables['rangSup']}.num_nomen as 'rangSup.nn', 
97
						{$this->tables['rangSup']}.bdnt as 'rangSup.bdnt',
97
						{$this->tables['rangSup']}.bdnt as 'rangSup.bdnt',
98
						{$this->tables['index']}.cle as 'index.cle' ";
98
						{$this->tables['index']}.cle as 'index.cle' ";
99
		} else {
99
		} else {
Line 193... Line 193...
193
				(empty ($tab['baseflor.bdnt'])) ? $tab['rangSup.bdnt'] : $tab['baseflor.bdnt'];
193
				(empty ($tab['baseflor.bdnt'])) ? $tab['rangSup.bdnt'] : $tab['baseflor.bdnt'];
Line 194... Line 194...
194
			
194
			
195
			$resultat_json['resultats'][$num]['catminat_code'] =
195
			$resultat_json['resultats'][$num]['catminat_code'] =
Line 196... Line 196...
196
				(empty ($tab['catminat_code'])) ? '' : $tab['catminat_code'];
196
				(empty ($tab['catminat_code'])) ? '' : $tab['catminat_code'];
197
			
197
			
Line 198... Line 198...
198
			$resultat_json['resultats'][$num]['idiotaxon'] =
198
			$resultat_json['resultats'][$num]['nom_sci'] =
199
				(empty ($tab['idiotaxon'])) ? '' : $tab['idiotaxon'];
199
				(empty ($tab['nom_sci'])) ? '' : $tab['nom_sci'];
Line 200... Line 200...
200
			
200