Subversion Repositories eFlore/Projets.eflore-projets

Rev

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

Rev 671 Rev 673
Line 323... Line 323...
323
		if ($this->format_reponse == 'noms') {
323
		if ($this->format_reponse == 'noms') {
324
			$orderBy[] = 'nom_sci ASC';
324
			$orderBy[] = 'nom_sci ASC';
325
		}
325
		}
Line 326... Line 326...
326
 
326
 
327
		$sql = '';
327
		$sql = '';
328
		if (count($orderBy > 0)) {
328
		if (count($orderBy) > 0) {
329
			$sql = 'ORDER BY '.implode(', ', $orderBy).' ';
329
			$sql = 'ORDER BY '.implode(', ', $orderBy).' ';
330
		}
330
		}
331
		return $sql;
331
		return $sql;