Support from Acquia helps fund testing for Drupal Acquia logo

Comments

phayes’s picture

Title: Ability to clone a faceted search environment » Clone a faceted search environment / features integration

Features integration would also be great, and much of the code to create a clone would be reused in features integration.

ademarco’s picture

FileSize
4.61 KB

In attachment a patch to add Features support to Faceted Search.

phayes’s picture

Status: Active » Needs review
ademarco’s picture

A small correction to fix the import of filters.

ademarco’s picture

Faceted search uses the numeric search environment to generate block deltas making block exporting problematic. Here is a patch that solves the issue by using environment names as unique id (instead of their numeric env_id); it's a kind of work around, environments will never be meant to be exportable until they keep a numeric id, but that would be a much bigger patch. I'm posting it here since it has to be applied after #4.

pvhee’s picture

Subscribing, would like to see this patch applied as soon as possible. Here some bg info about exportables from DrupalCon SF: http://dl.dropbox.com/u/4521056/exportables.pdf

Anonymous’s picture

Subscribing.

Shiraz Dindar’s picture

in case anyone is still needing this (i'm working on a site that still uses faceted search), just a heads up -- #4 + #5 worked great for me at featurizing my facet, but the rendered blocks from that facet were not available to panels. i didn't check the blocks admin to see if they were there, as i needed them in panels. so i reverted the patch, and then things were good again... and ironically i did *not* need to manually build out the facet because it worked from the first step. but anyhow, if you're starting from scratch, properly best not to bother.