|
|
|
@ -45,7 +45,7 @@ class Uitslag_model extends CI_Model
@@ -45,7 +45,7 @@ class Uitslag_model extends CI_Model
|
|
|
|
|
|
|
|
|
|
public function get_subgroep_punten($subgroepid) |
|
|
|
|
{ |
|
|
|
|
$this->db->select('SUM(resultaat.score/lijst.ronde) AS score, |
|
|
|
|
$this->db->select('SUM('.$this->db->dbprefix('resultaat').'.score/'.$this->db->dbprefix('lijst').'.ronde) AS score, |
|
|
|
|
spelgebied.id AS spelgebiedid, |
|
|
|
|
'); |
|
|
|
|
$this->db->from('resultaat'); |
|
|
|
|