Skip to content

Commit 22f3007

Browse files
committed
TD-3939- fixed sql query column alias space issue
1 parent 0fbbe4c commit 22f3007

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

DigitalLearningSolutions.Data/DataServices/SupervisorDataService.cs

Lines changed: 2 additions & 2 deletions
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 +'),' + ' ' + CentreNameAS 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
@@ -1201,4 +1201,4 @@ FROM CandidateAssessments AS CA
12011201
WHERE CA.ID = @candidateAssessmentId AND NonReportable = 0 ", new { candidateAssessmentId });
12021202
}
12031203
}
1204-
}
1204+
}

0 commit comments

Comments
 (0)