forked from science-ation/science-ation
Add judge(all) active from last year to communication list
This commit is contained in:
parent
8eef980ca7
commit
0497a21b40
@ -14,6 +14,9 @@
|
||||
"SELECT firstname, lastname, email, deleted, MAX(year)
|
||||
FROM users WHERE types LIKE '%judge%' GROUP BY uid HAVING deleted='no' ORDER BY email"),
|
||||
|
||||
"judges_active_lastyear"=>array("name"=>"Judges (all) active from last year", "query"=>
|
||||
"SELECT firstname, lastname, email FROM users LEFT JOIN users_judge ON users_judge.users_id=users.id WHERE types LIKE '%judge%' AND year='".($config['FAIRYEAR']-1)."' AND deleted='no' AND users_judge.judge_active='yes' ORDER BY email"),
|
||||
|
||||
"judges_active_thisyear"=>array("name"=>"Judges (all) active for this year", "query"=>
|
||||
"SELECT firstname, lastname, email FROM users LEFT JOIN users_judge ON users_judge.users_id=users.id WHERE types LIKE '%judge%' AND year='{$config['FAIRYEAR']}' AND deleted='no' AND users_judge.judge_active='yes' ORDER BY email"),
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user