Skip to content

Commit

Permalink
Revert "[examiner] Only show active examiner sites (aces#8967)"
Browse files Browse the repository at this point in the history
This reverts commit ed5df9c.
  • Loading branch information
jeffersoncasimir committed Jan 23, 2024
1 parent 702438e commit ad1eae5
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 18 deletions.
1 change: 0 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
37 changes: 20 additions & 17 deletions modules/examiner/php/examinerprovisioner.class.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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
",
[],
);
Expand Down

0 comments on commit ad1eae5

Please sign in to comment.