Skip to content

Commit 53c570f

Browse files
authored
Merge pull request #2781 from TechnologyEnhancedLearning/Develop/Fixes/TD-4535-CorrectingTableColumnName
TD-4535 Changed the column for storing email in centres table
2 parents 1dd34d0 + a2c5481 commit 53c570f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

DigitalLearningSolutions.Data/DataServices/CentresDataService.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ ORDER BY CentreName"
179179
c.ContactSurname,
180180
c.ContactEmail,
181181
c.ContactTelephone,
182-
c.pwEmail AS CentreEmail,
182+
c.AutoRegisterManagerEmail AS CentreEmail,
183183
c.ShowOnMap,
184184
c.CMSAdministrators AS CmsAdministratorSpots,
185185
c.CMSManagers AS CmsManagerSpots,
@@ -231,7 +231,7 @@ FROM Centres AS c
231231
c.ContactEmail,
232232
c.ContactTelephone,
233233
c.pwTelephone AS CentreTelephone,
234-
c.pwEmail AS CentreEmail,
234+
c.AutoRegisterManagerEmail AS CentreEmail,
235235
c.pwPostCode AS CentrePostcode,
236236
c.ShowOnMap,
237237
c.Long AS Longitude,
@@ -460,7 +460,7 @@ bool showOnMap
460460
CentreName = @centreName,
461461
CentreTypeId = @centreTypeId,
462462
RegionId = @regionId,
463-
pwEmail = @centreEmail,
463+
AutoRegisterManagerEmail = @centreEmail,
464464
IPPrefix = @ipPrefix,
465465
ShowOnMap = @showOnMap
466466
WHERE CentreId = @centreId",
@@ -504,7 +504,7 @@ bool AddITSPcourses
504504
ContactTelephone,
505505
CentreTypeID,
506506
RegionID,
507-
pwEmail,
507+
AutoRegisterManagerEmail,
508508
IPPrefix,
509509
ShowOnMap
510510
)

0 commit comments

Comments
 (0)