/trunk/jrest/services/CoelRecherche.php |
---|
54,7 → 54,7 |
$requete = (($this->distinct) ? 'SELECT DISTINCT' : 'SELECT').' cs_id_structure, cs_ville, cs_nom, '. |
' cc_id_collection, cc_nom '. |
$this->construireFromEtWhere($p). |
'ORDER BY '.((!is_null($this->orderby)) ? $this->orderby : 'cs_ville ASC, cs_nom ASC').' '. |
'ORDER BY '.((!is_null($this->orderby)) ? $this->orderby : 'cs_ville ASC, cs_nom ASC, cc_nom ASC').' '. |
"LIMIT $this->start, $this->limit "; |
$this->debug[] = $requete; |
// Récupération des résultats |