mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Fixing content indexing
Index settings where applied in reverse --HG-- branch : 1.x
This commit is contained in:
@@ -209,7 +209,7 @@ namespace Orchard.Indexing.Services {
|
||||
if (item.ContentItem != null) {
|
||||
// skip items from types which are not indexed
|
||||
var settings = GetTypeIndexingSettings(item.ContentItem);
|
||||
if (!settings.Indexes.Contains(indexName)) {
|
||||
if (settings.Indexes.Contains(indexName)) {
|
||||
documentIndex = ExtractDocumentIndex(item.ContentItem);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user