Subversion Repositories eFlore/Projets.eflore-projets

Compare Revisions

Ignore whitespace Rev 659 → Rev 658

/trunk/services/modules/0.1/nvjfl/NomsVernaculaires.php
203,10 → 203,8
//+------------------------------------------------------------------------------------------------------+
public function assemblerLaRequete() {
$requete = ' SELECT '.$this->formerRequeteChamp().
', CASE num_statut WHEN "" THEN 1 ELSE 0 END AS is_null '.
' FROM '.$this->table
.$this->formerRequeteCondition().
' ORDER BY is_null ASC, num_statut ASC '
.$this->formerRequeteCondition()
.$this->formerRequeteLimite();
return $requete;
}
386,7 → 384,7
}
}
}
if ($this->retour_format == 'max') {
// On est obligé de faire un deuxième boucle pour demander tous les taxons présents en une
// fois et les attribuer aux noms car c'est beaucoup plus rapide
399,6 → 397,7
}
}
uasort($resultat_json, array($this,'trierLigneTableau'));
$table_retour_json['resultat'] = $resultat_json;
return $table_retour_json;
}