forked from science-ation/science-ation
Wow committee reports were pretty broken.. fixed them, and added a field for the users title on the committee
This commit is contained in:
parent
726bfc0ef7
commit
d8f4228a59
@ -95,6 +95,12 @@ $report_committees_fields = array(
|
||||
'width' => 2,
|
||||
'table' => 'users.organization'),
|
||||
|
||||
'title' => array(
|
||||
'name' => 'Committee Member -- Title on Committee',
|
||||
'header' => 'Title',
|
||||
'width' => 2,
|
||||
'table' => 'committees_link.title'),
|
||||
|
||||
'firstaid' => array(
|
||||
'name' => 'Committee Member -- First Aid Training',
|
||||
'header' => 'F.Aid',
|
||||
@ -135,9 +141,14 @@ $report_committees_fields = array(
|
||||
}
|
||||
*/
|
||||
$q = " FROM
|
||||
users
|
||||
users,
|
||||
committees,
|
||||
committees_link
|
||||
WHERE
|
||||
users.types LIKE '%committee%'
|
||||
AND committees_link.committees_id=committees.id
|
||||
AND committees_link.users_uid=users.uid
|
||||
AND users.year=$year
|
||||
";
|
||||
|
||||
return $q;
|
||||
|
Loading…
x
Reference in New Issue
Block a user