This patch adds support for exported views in faceted_search_views.module.

Patched against DRUPAL-5 CVS branch.

Comments

David Lesieur’s picture

Version: 5.x-1.x-dev » 6.x-1.x-dev
Status: Needs review » Active

Committed to the DRUPAL-5 branch. Thanks!

Leaving this issue open for the Drupal 6 version since Faceted Search Views has not been ported to Views 2 yet.

David Lesieur’s picture

Status: Active » Patch (to be ported)
kpaul’s picture

anyone working on this? thanks.

dambrisco’s picture

subscribing. If I'm understanding this right, the patch allows Faceted Search results to be exported? Or am i getting my hopes up?

I've been hoping to find a way to allow result tables from Faceted Search to be exported, but as I've come to realize, "export" can mean various things given the context, and unfortunately I don't speak fluent Drupal yet.

dawehner’s picture

I tryed to change form_results with

  function format_results($search) {
    $name = $this->_name;
    $display_id = 'default';
    $args = array('faceted_search' => $search);

    $view = views_get_view($name);
    if (!$view) {
      return;
    }
    $view->override_path = $_GET['q'];

    $output = $view->preview($display_id, $args);
    return $output;
  }

But it does not work as expected, perhaps someone has an idea.