/trunk/jrest/bibliotheque/RechercheObservation.php |
---|
73,7 → 73,7 |
$order_by_clause = ' ORDER BY ' . $criteres['tri']; |
if (isset($criteres['tri_dir']) && in_array($criteres['tri_dir'], array('ASC', 'DESC'))) { |
$order_by_clause .= ' ' . $criteres['tri_dir'] |
$order_by_clause .= ' ' . $criteres['tri_dir']; |
} |
} |
unset($criteres['tri']); |