Changeset 320 for trunk/client/modules/Elezioni/gruppo.php
- Timestamp:
- Jun 4, 2019, 9:27:56 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/client/modules/Elezioni/gruppo.php
r319 r320 258 258 and t3.id_sede=t4.id_sede 259 259 and t4.id_circ=t5.id_circ $condcirc 260 group by t1.num_cand,$tab 3,nome260 group by t1.num_cand,$tab2, t1.cognome,t1.nome 261 261 order by $tab3,t1.num_cand"; 262 262 $res_voti = $dbi->prepare("$sqlvoti"); … … 788 788 left join ".$prefix."_ele_circoscrizione as t5 on (t4.id_circ=t5.id_circ) 789 789 where t1.id_cons='$id_cons' and t1.id_gruppo=$id_gruppo 790 group by t2.id_gruppo,$tab 3790 group by t2.id_gruppo,$tab2, t1.num_gruppo, t1.descrizione , t1.simbolo 791 791 order by $tab3, t1.num_gruppo 792 792 "; … … 856 856 857 857 // numero sezioni scrutinate 858 $sql="select t3. *from ".$prefix."_ele_voti_ref as t3 left join ".$prefix."_ele_sezioni as t1 on t3.id_sez=t1.id_sez left join ".$prefix."_ele_sede as t2 on t1.id_sede=t2.id_sede where t3.id_cons='$id_cons' group by t3.id_sez ";858 $sql="select t3.id_sez from ".$prefix."_ele_voti_ref as t3 left join ".$prefix."_ele_sezioni as t1 on t3.id_sez=t1.id_sez left join ".$prefix."_ele_sede as t2 on t1.id_sede=t2.id_sede where t3.id_cons='$id_cons' group by t3.id_sez "; 859 859 $res4 = $dbi->prepare("$sql"); 860 860 $res4->execute();
Note:
See TracChangeset
for help on using the changeset viewer.