Nextrek
Diff Revisions 701 vs 718 for /Android/SmartCharging/endPoints/repositories/CommentRepository.php
@@ -160,6 +160,7 @@ | |||
160 | 160 | $sqlComments = "SELECT id | |
161 | 161 | FROM commenti | |
162 | 162 | WHERE id_locale=".$id_local." | |
163 | + | ORDER BY c.data ".$data_order." | |
163 | 164 | LIMIT ".$start_index.",".$length; | |
164 | 165 | ||
165 | 166 | //echo "<br/>".$sqlComments."<br/>"; |