Fixed broken WidgetFilter due to bad merge.

This commit is contained in:
Sipke Schoorstra
2015-03-06 09:08:27 +01:00
parent 6e7d82bd29
commit 6173844445

View File

@@ -54,6 +54,7 @@ namespace Orchard.Widgets.Filters {
// Once the Rule Engine is done:
// Get Layers and filter by zone and rule
// NOTE: .ForType("Layer") is faster than .Query<LayerPart, LayerPartRecord>()
IEnumerable<LayerPart> activeLayers = _orchardServices.ContentManager.Query<LayerPart>().ForType("Layer").List();
var activeLayerIds = new List<int>();
foreach (var activeLayer in activeLayers) {