You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: DigitalLearningSolutions.Data/DataServices/CourseDataService.cs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -727,7 +727,7 @@ LEFT JOIN CoursePrompts AS cp3 WITH (NOLOCK)
727
727
AND (cu.CentreID = @centreId OR (cu.AllCentres = 1 AND ca.Active = @allCentreCourses))
728
728
AND ca.CentreID = @centreId
729
729
AND ap.DefaultContentTypeID <> 4
730
-
AND ( ap.ApplicationName + ' ' + ' ' + cu.CustomisationName LIKE N'%' + @searchString + N'%')
730
+
AND ( ap.ApplicationName + IIF(cu.CustomisationName IS NULL, '', ' - ' + cu.CustomisationName) LIKE N'%' + @searchString + N'%')
731
731
AND ((@isActive = 'Any') OR (@isActive = 'true' AND (cu.Active = 1 AND ap.ArchivedDate IS NULL)) OR (@isActive = 'false' AND ((cu.Active = 0 OR ap.ArchivedDate IS NOT NULL))))
732
732
AND ((@categoryName = 'Any') OR (cc.CategoryName = @categoryName))
733
733
AND ((@courseTopic = 'Any') OR (ct.CourseTopic = @courseTopic))
0 commit comments