This commit is contained in:
Monique
2021-12-09 22:19:28 +01:00
parent ed6980443a
commit a15dd94a81
+1 -1
View File
@@ -387,7 +387,7 @@ class Scores_model extends MY_Model{
if ($gevuldeversies) {
$this->sql = "SELECT SC.id, filledversion_id, SC.ijkpunt_id , scoretype,
$this->sql = "SELECT SC.id, filledversion_id, SC.ijkpunt_id , scoretype, Y.disabled,
sum(IF ({$a}, {$b} ,{$c}) )/ sum(IF ((SC.scoretype=4 && SC.score=3), 0, I.gewicht)) AS gem,
Y.nummer, Y.omschrijving, count(DISTINCT O.id) AS aantalscholen, count(DISTINCT FV.id) AS aantallijsten, Y.toelichting
FROM tb_filledversions FV