Skip to content

Commit ee40571

Browse files
Merge pull request #1584 from TechnologyEnhancedLearning/Develop/Fixes/TD-6653-Issue-with-the-'next'-links-not-showing-search-results-when-try-to-update-the-'place-of-work'-from-'my-account'-section
TD-6653: Fixed pagination issue on update place of work screen.
2 parents 840cfe4 + 14d0815 commit ee40571

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

LearningHub.Nhs.WebUI/Controllers/MyAccountController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1398,7 +1398,7 @@ await this.userService.UpdateUserEmployment(
13981398
}
13991399
else
14001400
{
1401-
if (!searchSubmission)
1401+
if (string.IsNullOrWhiteSpace(viewModel.FilterText))
14021402
{
14031403
viewModel.SelectedWorkPlaceId = profile.LocationId.ToString();
14041404
viewModel.FilterText = profile.LocationName;

0 commit comments

Comments
 (0)