? .DS_Store
? cache_indexes_01.patch
? ctools_contexts_03.patch
? entity_translations_00.patch
? entity_translations_01.patch
? entity_translations_02.patch
? grid_display_00.patch
? layer_filter_api_00.patch
? layer_filters_04.patch
Index: includes/index.classes.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/index/includes/Attic/index.classes.inc,v
retrieving revision 1.1.2.41
diff -u -p -r1.1.2.41 index.classes.inc
--- includes/index.classes.inc	27 Feb 2010 19:41:10 -0000	1.1.2.41
+++ includes/index.classes.inc	7 Mar 2010 15:48:27 -0000
@@ -20,6 +20,9 @@ class index {
   public $description = '';
   public $layers = array();
   public $contexts = array();
+  // Global filters that apply to all layers in addition to layer-specific
+  // filters.
+  public $filters = array();
 
   /**
    * Construct the object with basic properties or properties that have been
@@ -55,6 +58,7 @@ class index {
     $this->layers = array();
     foreach ($layers as $layer) {
       $layer->index = $this;
+      $layer->filters['global'] = $this->filters;
       $parent_lineage = substr($layer->lineage, 0, strrpos($layer->lineage, '_'));
       if (strlen($parent_lineage) == 0) {
         $this->layers[] = $layer;
@@ -139,6 +143,10 @@ class indexLayer {
   public $hide_childless_entities = FALSE;
   public $layers = array();
   public $entities = array();
+  public $filters = array(
+    'global' => array(),
+    'entity' => array(),
+  );
 
   /**
    * Fill all properties.
