Skip to content

Commit fdc39f2

Browse files
authored
Populate Template field from Elasticsearch recipe (#17195)
1 parent fb248a9 commit fdc39f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/OrchardCore/OrchardCore.Search.Elasticsearch.Core/Services/ElasticsearchQueryHandler.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public override Task UpdatingAsync(UpdatingQueryContext context)
1515

1616
private static Task UpdateQueryAsync(DataQueryContextBase context)
1717
{
18-
if (context.Query.Source == ElasticsearchQuerySource.SourceName)
18+
if (context.Query.Source != ElasticsearchQuerySource.SourceName)
1919
{
2020
return Task.CompletedTask;
2121
}

0 commit comments

Comments
 (0)