Skip to content

Commit a05750f

Browse files
committed
TD-2180 - document formatting.
1 parent 4a83c85 commit a05750f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

DigitalLearningSolutions.Web/Controllers/TrackingSystem/Delegates/DelegateCoursesController.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public IActionResult Index(
6060
int? itemsPerPage = 10
6161
)
6262
{
63-
searchString= searchString==null ? string.Empty : searchString.Trim();
63+
searchString = searchString == null ? string.Empty : searchString.Trim();
6464
sortBy ??= DefaultSortByOptions.Name.PropertyName;
6565
sortDirection ??= GenericSortingHelper.Ascending;
6666

@@ -131,13 +131,13 @@ public IActionResult Index(
131131
}
132132
}
133133

134-
var (courses, resultCount)= courseService.GetCentreCourses(searchString ?? string.Empty, offSet, (int)itemsPerPage, sortBy, sortDirection, centreId, categoryId, true,null,
134+
var (courses, resultCount) = courseService.GetCentreCourses(searchString ?? string.Empty, offSet, (int)itemsPerPage, sortBy, sortDirection, centreId, categoryId, true, null,
135135
isActive, categoryName, courseTopic, hasAdminFields);
136136
if (courses.Count() == 0 && resultCount > 0)
137137
{
138138
page = 1;
139139
offSet = 0;
140-
(courses, resultCount) = courseService.GetCentreCourses(searchString ?? string.Empty, offSet, (int)itemsPerPage, sortBy, sortDirection, centreId, categoryId, true,null,
140+
(courses, resultCount) = courseService.GetCentreCourses(searchString ?? string.Empty, offSet, (int)itemsPerPage, sortBy, sortDirection, centreId, categoryId, true, null,
141141
isActive, categoryName, courseTopic, hasAdminFields);
142142
}
143143

0 commit comments

Comments
 (0)