File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
WebAPI/LearningHub.Nhs.Database/Stored Procedures/Activity Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -175,7 +175,7 @@ FROM (
175175 @searchText IS NULL
176176 OR
177177 (
178- Charindex (@searchText, [ResVer].[Title]) > 0
178+ ( Charindex (@searchText, [ResVer].[Title]) > 0
179179 OR
180180 Charindex (@searchText, [ResVer].[Description]) > 0
181181 OR
@@ -189,8 +189,8 @@ FROM (
189189 [ResVer].[Id] = [ResourceVersionKeyword].[ResourceVersionId]
190190 AND
191191 Charindex (@searchText, [ResourceVersionKeyword].[Keyword]) > 0
192- )
193- )
192+ )
193+ )) AND [ResourceActivity].ActivityStart is not null
194194 )
195195 )
196196 AND
Original file line number Diff line number Diff line change 9090 @searchText IS NULL
9191 OR
9292 (
93- Charindex (@searchText, [ResVer].[Title]) > 0
93+ ( Charindex (@searchText, [ResVer].[Title]) > 0
9494 OR
9595 Charindex (@searchText, [ResVer].[Description]) > 0
9696 OR
@@ -104,8 +104,8 @@ FROM (
104104 [ResVer].[Id] = [ResourceVersionKeyword].[ResourceVersionId]
105105 AND
106106 Charindex (@searchText, [ResourceVersionKeyword].[Keyword]) > 0
107- )
108- )
107+ )
108+ )) AND [ResourceActivity].ActivityStart is not null
109109 )
110110 )
111111 AND
You can’t perform that action at this time.
0 commit comments