Skip to content

Commit 9f9efc0

Browse files
authored
[NDB_BVL_Instrument] Modify Examiner Select (#9452)
Add distinct clause to examiner queries so that recreate_conflicts work when there are multiple examiners with the same name.
1 parent ea75fa4 commit 9f9efc0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

php/libraries/NDB_BVL_Instrument.class.inc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1028,7 +1028,7 @@ abstract class NDB_BVL_Instrument extends NDB_Page
10281028
['tst_name' => $this->testName]
10291029
);
10301030
$results = $db->pselectWithIndexKey(
1031-
"SELECT c.examinerID, e.full_name, u.Email
1031+
"SELECT DISTINCT c.examinerID, e.full_name, u.Email
10321032
FROM certification c
10331033
JOIN examiners e
10341034
ON (c.examinerID = e.examinerID)
@@ -1050,7 +1050,7 @@ abstract class NDB_BVL_Instrument extends NDB_Page
10501050
);
10511051
} else {
10521052
$results = $db->pselectWithIndexKey(
1053-
"SELECT e.examinerID, e.full_name, u.Email
1053+
"SELECT DISTINCT e.examinerID, e.full_name, u.Email
10541054
FROM examiners e
10551055
JOIN examiners_psc_rel epr
10561056
ON (epr.examinerID=e.examinerID)

0 commit comments

Comments
 (0)