full group by uitzetten

This commit is contained in:
2026-03-10 16:11:52 +01:00
parent 90b4f0d08e
commit 44bc260061
2 changed files with 5 additions and 3 deletions
+2 -2
View File
@@ -117,7 +117,7 @@ class Groepen_model extends MY_Model{
AND GR.schooljaarnr = {$schooljaarnr}
AND GR.schooltype = 'R'
AND GR.module = {$module}
GROUP BY GR.id
GROUP BY GR.id, GR.naam, GR.niveau, GR.totaantal, GR.ondersteuning
ORDER BY niveau, naam, GR.id ";
return $this->get_query_result();
}
@@ -146,7 +146,7 @@ class Groepen_model extends MY_Model{
AND GR.schooljaarnr = {$schooljaarnr}
AND GR.schooltype = 'R'
AND GR.module = {$module}
GROUP BY GR.id
GROUP BY GR.id, GR.naam, GR.niveau, GR.totaantal
ORDER BY niveau, naam, GR.id ";
return $this->get_query_result();
}