Skip to content

Commit c49be93

Browse files
authored
Merge pull request #934 from datanfr/participation-ranking
Fix bug 3
2 parents a5e57e1 + 3f6f3c2 commit c49be93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

application/models/Stats_model.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ public function get_groups_cohesion(){
194194
}
195195

196196
public function get_mps_participation(){
197-
$sql = 'SELECT cp.*, da.nameFirst, da.nameLast, da.civ, da.libelle AS libelle, da.libelleAbrev AS libelleAbrev, da.dptSlug, da.nameUrl, da.couleurAssociee, da.departementNom, da.departementCode, da.legislature AS legislature_last
197+
$sql = 'SELECT cp.*, da.nameFirst, da.nameLast, da.civ, da.libelle AS libelle, da.libelleAbrev AS libelleAbrev, da.dptSlug, da.nameUrl, da.couleurAssociee, da.img, da.departementNom, da.departementCode, da.legislature AS legislature_last
198198
FROM class_participation cp
199199
LEFT JOIN deputes_last da ON cp.mpId = da.mpId AND da.legislature = cp.legislature
200200
WHERE da.active AND cp.legislature = ? AND cp.votesN > 5

0 commit comments

Comments
 (0)