Fix Historique du score
This commit is contained in:
parent
20a402b3bb
commit
553daa922a
@ -2592,7 +2592,7 @@ class Interne extends Scores_Ws_Server
|
||||
WHERE siren=:siren AND indiScoreDate >= (CURDATE() - INTERVAL 5 YEAR) GROUP BY indiScoreDate)
|
||||
UNION (SELECT h.$type, h.encours, h.indiScoreDate, h.sourceModif FROM historiques.scores_surveillance h
|
||||
WHERE siren=:siren AND indiScoreDate >= (CURDATE() - INTERVAL 5 YEAR) GROUP BY indiScoreDate)
|
||||
ORDER BY indiScoreDate DESC GROUP BY indiScoreDate ";
|
||||
ORDER BY indiScoreDate DESC";
|
||||
$stmt = $this->conn->prepare($sql);
|
||||
$stmt->bindValue('siren', $siren);
|
||||
$stmt->execute();
|
||||
|
Loading…
Reference in New Issue
Block a user