title: Magento: Layered Navigation on Advanced Search Results
body: <p>I need to show the layered navigation filters on the Magento advanced search results page, just like it does on the catalogsearch results page.</p>
  
  <p>I have already moved the XML block as needed into catalogsearch_advanced_result:</p>
  
  <pre><code>&lt;reference name="left"&gt;
  &lt;block type="catalogsearch/layer" name="catalogsearch.leftnav" template="catalog/layer/view.phtml"/&gt;
  &lt;/reference&gt;
  </code></pre>
  
  <p>The block is called, but nothing shows up. I have traced through the core files and found that in Catalog/Block/Layer/View.php this function doesn't return any attributes (line 161):</p>
  
  <pre><code>protected function _getFilterableAttributes()
  {
      $attributes = $this-&gt;getData('_filterable_attributes');
      if (is_null($attributes)) {
          $attributes = $this-&gt;getLayer()-&gt;getFilterableAttributes();
          $this-&gt;setData('_filterable_attributes', $attributes);
      }
  
      return $attributes;
  }
  </code></pre>
  
  <p>I traced getFilterableAttributes() into the Catalog/Model/Layer.php file, but from this point it becomes difficult to work out where the difference between catalogsearch and advanced search is.</p>
  
  <p>I basically just want to get this working in any way possible. Any help or guidance would be much appreciated!</p>
  
  <p><strong>EDIT:</strong></p>
  
  <p>My product attributes are set up correctly as below:</p>
  
  <p><img src="https://i.stack.imgur.com/p0eDd.png" alt="enter image description here"></p>