diff --git a/CHANGELOG.md b/CHANGELOG.md index b9c75f69d4c..ad468b3cb59 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,7 +14,6 @@ changes in the following format: PR #1234*** - Add OpenID Connect authorization support to LORIS (PR #8255) #### Bug Fixes -- Fix examiner site display (PR #8967) - bvl_feedback updates in real-time (PR #8966) - DoB and DoD format respected in candidate parameters (PR #9001) diff --git a/modules/examiner/php/examinerprovisioner.class.inc b/modules/examiner/php/examinerprovisioner.class.inc index 91ece0dfd00..47c1b9ffc06 100644 --- a/modules/examiner/php/examinerprovisioner.class.inc +++ b/modules/examiner/php/examinerprovisioner.class.inc @@ -37,23 +37,26 @@ class ExaminerProvisioner extends \LORIS\Data\Provisioners\DBRowProvisioner function __construct() { parent::__construct( - "SELECT - e.full_name as Examiner, - u.Email, - GROUP_CONCAT(DISTINCT epr.CenterID) as centerIds, - e.examinerID as ID, - e.radiologist as Radiologist, - GROUP_CONCAT(DISTINCT tn.full_name SEPARATOR ', ') as - Certification - FROM examiners e - LEFT JOIN examiners_psc_rel epr ON - (epr.examinerID=e.examinerID) - LEFT JOIN certification c ON - (c.examinerID=e.examinerID and c.pass = 'certified') - LEFT JOIN test_names tn ON (tn.ID = c.testID) - LEFT JOIN users u ON u.ID=e.userID - WHERE epr.active='Y' - GROUP BY e.examinerID + " + select + e.full_name as Examiner, + u.Email, + GROUP_CONCAT(DISTINCT psc.CenterID) as centerIds, + e.examinerID as ID, + + e.radiologist as Radiologist, + GROUP_CONCAT(DISTINCT tn.full_name SEPARATOR ', ') as + Certification + + FROM examiners e + LEFT JOIN examiners_psc_rel epr ON + (epr.examinerID=e.examinerID) + LEFT JOIN psc ON (epr.centerID=psc.CenterID) + LEFT JOIN certification c ON + (c.examinerID=e.examinerID and c.pass = 'certified') + LEFT JOIN test_names tn ON (tn.ID = c.testID) + LEFT JOIN users u ON u.ID=e.userID + group by e.examinerID ", [], );