User login

Views FastSearch, Exposed Filters, and Table View

Searched words: 
drupal table view all showing in one column drupal table view taxonomy views_fastsearch table view viewsfastsearch drupal table view viewsfastsearch exposed filters and tabviews_fastsearch not working with table viewle view Drupal exposed filters table view all in one column Drupal

With this set up of Views FastSearch, multiple exposed filters, and a table view, everything shows in just the first column, rather than putting the fields in their respective columns. All the data is shown though.

Posted issue here: http://drupal.org/node/198617

No answers:

Best way for Views to efficiently size columns
http://drupal.org/node/159972

A better table view?

Add Cross Tables View Type to Bonus Pack
http://drupal.org/node/121730

We're not sure this is Views Fast Search's fault, but we've run out of other ideas. When using views_fastsearch as one of several exposed filters, and using table view, all fields are displayed in the first column– and nothing in the other columns.

Does anyone have any thoughts? (This is an issue for the World Social Forum Call to Action installation profile, currently undergoing trial-by-fire ;-) -- here's the post on it there: http://drupal.org/node/195308 )

Here's our view definition:

$view = new stdClass();
$view->name = 'find_action';
$view->description = 'Find an Action';
$view->access = array (
);
$view->view_args_php = '';
$view->page = TRUE;
$view->page_title = 'Find an Action';
$view->page_header = '';
$view->page_header_format = '1';
$view->page_footer = '';
$view->page_footer_format = '1';
$view->page_empty = '';
$view->page_empty_format = '1';
$view->page_type = 'table';
$view->url = 'view/findaction';
$view->use_pager = TRUE;
$view->nodes_per_page = '10';
$view->sort = array (
array (
'tablename' => 'node',
'field' => 'created',
'sortorder' => 'ASC',
'options' => 'normal',
),
array (
'tablename' => 'location',
'field' => 'country',
'sortorder' => 'ASC',
'options' => '',
),
);
$view->argument = array (
);
$view->field = array (
array (
'tablename' => 'node',
'field' => 'title',
'label' => 'Title',
'handler' => 'views_handler_field_nodelink',
'options' => 'link',
),
array (
'tablename' => 'og_node_data',
'field' => 'title',
'label' => 'Group',
),
array (
'tablename' => 'term_node_5',
'field' => 'name',
'label' => 'Location',
'options' => 'link',
),
array (
'tablename' => 'term_node_6',
'field' => 'name',
'label' => 'Action Status',
'options' => 'link',
),
);
$view->filter = array (
array (
'tablename' => 'node',
'field' => 'status',
'operator' => '=',
'options' => '',
'value' => '1',
),
array (
'tablename' => 'node',
'field' => 'type',
'operator' => 'OR',
'options' => '',
'value' => array (
0 => 'action',
),
),
array (
'tablename' => 'term_node_6',
'field' => 'tid',
'operator' => 'OR',
'options' => '1',
'value' => array (
),
),
array (
'tablename' => 'search_index',
'field' => 'word',
'operator' => '=',
'options' => '',
'value' => '',
),
array (
'tablename' => 'term_node_5',
'field' => 'tid',
'operator' => 'AND',
'options' => '',
'value' => array (
),
),
);
$view->exposed_filter = array (
array (
'tablename' => 'search_index',
'field' => 'word',
'label' => 'Search Actions',
'optional' => '1',
'is_default' => '0',
'operator' => '1',
'single' => '1',
),
array (
'tablename' => 'term_node_5',
'field' => 'tid',
'label' => 'Location',
'optional' => '1',
'is_default' => '0',
'operator' => '1',
'single' => '1',
),
array (
'tablename' => 'term_node_6',
'field' => 'tid',
'label' => 'Status',
'optional' => '1',
'is_default' => '0',
'operator' => '1',
'single' => '1',
),
);
$view->requires = array(node, location, og_node_data, term_node_5, term_node_6, search_index);
$views[$view->name] = $view;

Resolution

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Internal paths in single or double quotes, written as "internal:node/99", for example, are replaced with the appropriate absolute URL or path. Paths to files in single or double quotes, written as "files:somefile.ext", for example, are replaced with the appropriate URL that can be used to download the file.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <blockquote> <small> <h2> <h3> <h4> <h5> <h6> <sub> <sup> <p> <br> <strike> <table> <tr> <td> <thead> <th> <tbody> <tt> <output>
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • Lines and paragraphs break automatically.

More information about formatting options

By submitting this form, you accept the Mollom privacy policy.