From 601bc4be68d9004f478b6f7bdb4fd2ada5b04300 Mon Sep 17 00:00:00 2001 From: dave Date: Sun, 29 Mar 2009 06:42:08 +0000 Subject: [PATCH] Sched. judges on >1 SA team if they request --- admin/judges_sa.php | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/admin/judges_sa.php b/admin/judges_sa.php index 2d82e699..d6f148de 100644 --- a/admin/judges_sa.php +++ b/admin/judges_sa.php @@ -878,6 +878,16 @@ function judges_sa_cost_function($annealer, $bucket_id, $ids) $j =& $judges[$ids[$x]]; $apref = 0; + /* Make sure this judge isn't on the team more than + * once. For S-A only judges, we duplicate the judge IDs + * so the judge can be scheduled on multiple teams */ + if($j['special_award_only'] == 'yes') { + for($i=0; $i