Make fields list to allow to add fields

This commit is contained in:
abi
2020-01-02 23:08:53 +00:00
parent 3b8e6d3cc0
commit 358b4c9133

View File

@@ -70,7 +70,7 @@ namespace Umbraco.Web.Search
string type;
var indexName = Constants.UmbracoIndexes.InternalIndexName;
var fields = _umbracoTreeSearcherFields.GetBackOfficeFields();
var fields = _umbracoTreeSearcherFields.GetBackOfficeFields().ToList();
// TODO: WE should try to allow passing in a lucene raw query, however we will still need to do some manual string
// manipulation for things like start paths, member types, etc...