Skip to content

Commit a4d19de

Browse files
committed
Supervisor name formatting
1 parent 5078651 commit a4d19de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DigitalLearningSolutions.Data/DataServices/SupervisorService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ LEFT JOIN UserCentreDetails ucd
393393
public IEnumerable<SupervisorForEnrolDelegate> GetSupervisorForEnrolDelegate(int CustomisationID, int CentreID)
394394
{
395395
return connection.Query<SupervisorForEnrolDelegate>(
396-
$@"SELECT AdminID, Forename + ' ' + Surname + ' (' + Email +')' + ' (' + CentreName +')' AS Name, Email FROM AdminUsers AS au
396+
$@"SELECT AdminID, Forename + ' ' + Surname + ' (' + Email +'),' + ' ' + CentreName AS Name, Email FROM AdminUsers AS au
397397
WHERE (Supervisor = 1) AND (CentreID = @CentreID) AND (CategoryID = 0 OR
398398
CategoryID = (SELECT au.CategoryID FROM Applications AS a INNER JOIN
399399
Customisations AS c ON a.ApplicationID = c.ApplicationID

0 commit comments

Comments
 (0)