Skip to content

Commit

Permalink
Fix small thing
Browse files Browse the repository at this point in the history
  • Loading branch information
anas-araid committed Nov 22, 2018
1 parent 10ba38a commit fb5e12c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/getStats.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ function getInterventiAnnuali($anno, $db_conn){
return $report;
}
function getReportYears($db_conn){
$sql = "SELECT YEAR(Data) as anno FROM t_rapportiVVF GROUP BY anno";
$sql = "SELECT YEAR(Data) as anno FROM t_rapportiVVF GROUP BY anno DESC";
$risultato = mysqli_query($db_conn, $sql);
if ($risultato == false){
die("error");
Expand Down

0 comments on commit fb5e12c

Please sign in to comment.