Update src/Umbraco.Web/PublishedContentQuery.cs

Co-Authored-By: Bjarke Berg <mail@bergmania.dk>
This commit is contained in:
Shannon Deminick
2019-07-24 17:30:29 +10:00
committed by GitHub
parent 2f8979bbc3
commit beb8c7ac7c

View File

@@ -217,7 +217,7 @@ namespace Umbraco.Web
//get all index fields suffixed with the culture name supplied
var cultureFields = umbIndex.GetCultureAndInvariantFields(culture).ToArray();
var qry = searcher.CreateQuery();
qry = qry.And().ManagedQuery(term, cultureFields);
qry = qry.ManagedQuery(term, cultureFields);
results = qry.Execute(count);
}