/trunk/jrest/services/CoelRecherche.php |
---|
52,7 → 52,7 |
// Construction de la requĂȘte |
$requete = (($this->distinct) ? 'SELECT DISTINCT' : 'SELECT').' cs_id_structure, cs_ville, cs_nom, '. |
' cc_id_collection, cc_nom '. |
'cs_code_postal, cs_latitude, cs_longitude, cc_id_collection, cc_nom '. |
$this->construireFromEtWhere($p). |
'ORDER BY '.((!is_null($this->orderby)) ? $this->orderby : 'cs_ville ASC, cs_nom ASC, cc_nom ASC').' '. |
"LIMIT $this->start, $this->limit "; |