mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
#19849: Fixing search tab in navigation's content picker
Work Item: 19849 --HG-- branch : 1.x
This commit is contained in:
@@ -64,7 +64,7 @@ namespace Orchard.Search.Controllers {
|
||||
return View("NoIndex");
|
||||
}
|
||||
|
||||
var builder = _indexManager.GetSearchIndexProvider().CreateSearchBuilder(settings.SearchIndex);
|
||||
var builder = _indexManager.GetSearchIndexProvider().CreateSearchBuilder(Services.WorkContext.CurrentSite.As<SearchSettingsPart>().SearchIndex);
|
||||
|
||||
try {
|
||||
builder.Parse(searchFields, searchText);
|
||||
|
Reference in New Issue
Block a user