fixes bug with getting indexer properties in the mgmt controller
This commit is contained in:
@@ -70,7 +70,6 @@
|
||||
<Compile Include="UmbracoContentIndexerOptions.cs" />
|
||||
<Compile Include="UmbracoContentValueSetValidator.cs" />
|
||||
<Compile Include="UmbracoExamineIndexer.cs" />
|
||||
<Compile Include="UmbracoExamineMultiIndexSearcher.cs" />
|
||||
<Compile Include="UmbracoExamineSearcher.cs" />
|
||||
<Compile Include="UmbracoMemberIndexer.cs" />
|
||||
<Compile Include="..\SolutionInfo.cs">
|
||||
|
||||
@@ -241,7 +241,7 @@ namespace Umbraco.Web.WebServices
|
||||
Name = indexer.Key
|
||||
};
|
||||
|
||||
var props = TypeHelper.CachedDiscoverableProperties(indexer.GetType(), mustWrite: false)
|
||||
var props = TypeHelper.CachedDiscoverableProperties(indexer.Value.GetType(), mustWrite: false)
|
||||
//ignore these properties
|
||||
.Where(x => new[] {"IndexerData", "Description", "WorkingFolder"}.InvariantContains(x.Name) == false)
|
||||
.OrderBy(x => x.Name);
|
||||
|
||||
Reference in New Issue
Block a user