#20033: Fixing that SearchService should filter based on CurrentCultre instead of SiteCulture

Work Item: 20033
This commit is contained in:
Benedek Farkas
2013-09-24 23:26:38 +02:00
parent a65a41a065
commit 790cb94d5b

View File

@@ -35,7 +35,7 @@ namespace Orchard.Search.Services {
var searchBuilder = Search(index).Parse(searchFields, query);
if (filterCulture) {
var culture = _cultureManager.GetSiteCulture();
var culture = _cultureManager.GetCurrentCulture(Services.WorkContext.HttpContext);
// use LCID as the text representation gets analyzed by the query parser
searchBuilder