We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3098eaa + 0b93535 commit 4b268cbCopy full SHA for 4b268cb
DigitalLearningSolutions.Web/ViewModels/TrackingSystem/Centre/Administrator/SearchableAdminViewModel.cs
@@ -17,7 +17,8 @@ ReturnPageQuery returnPageQuery
17
)
18
{
19
Id = admin.AdminAccount.Id;
20
- Name = admin.SearchableName;
+ Name = string.IsNullOrWhiteSpace(admin.UserAccount.FirstName) ? admin.UserAccount.LastName :
21
+ $"{admin.UserAccount.LastName}, {admin.UserAccount.FirstName}";
22
CategoryName = admin.AdminAccount.CategoryName ?? "All";
23
EmailAddress = admin.EmailForCentreNotifications;
24
IsLocked = admin.UserAccount.FailedLoginCount >= AuthHelper.FailedLoginThreshold;
0 commit comments