Subversion Repositories eFlore/Projets.eflore-projets

Rev

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

Rev 671 Rev 672
Line 332... Line 332...
332
		if ($this->format_reponse == 'noms') {
332
		if ($this->format_reponse == 'noms') {
333
			$orderBy[] = 'nom_sci ASC';
333
			$orderBy[] = 'nom_sci ASC';
334
		}
334
		}
Line 335... Line 335...
335
 
335
 
336
		$sql = '';
336
		$sql = '';
337
		if (count($orderBy > 0)) {
337
		if (count($orderBy) > 0) {
338
			$sql = 'ORDER BY '.implode(', ', $orderBy).' ';
338
			$sql = 'ORDER BY '.implode(', ', $orderBy).' ';
339
		}
339
		}
340
		return $sql;
340
		return $sql;