Download & Extend

When using as one of several exposed filters, all fields are displayed in the first column with table view

Project:Views
Version:5.x-1.6
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:mlncn
Status:closed (fixed)

Issue Summary

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;

Comments

#1

Project:Views Fast Search» Views
Version:5.x-1.x-dev» 5.x-1.6

Update: This is happening to all our views. Table View displays all the data in the first column, even though the labels and sorts still display and work for the other columns.

See attached screenshot.

Using 5.x-1.6

AttachmentSize
WSF Action Participants.png 22.6 KB

#2

You don't have anything theming this view or the generic table view, do you? I'm not sure how this is possible, but I would like to at least confirm/eliminate that possibility.

#3

Assigned to:Anonymous» mlncn
Status:active» postponed

We will do some testing and report back.

#4

Priority:normal» critical
Status:postponed» active

Yes I am also facing the same problem. . It’s not theme related as I have tried it with different themes and got the same problem. . More ever I am not getting the default ‘ALL’ value in the lov (list of values)

This is very bizarre ,,, I have never seen this before. .I am looking in to it and ‘ll inform if come across anything

#5

Priority:critical» normal
Status:active» postponed (maintainer needs more info)

In our case it *was* theme related-- we were overriding views css (based on what the theming wizard puts out) with a little too much eagerness. I think it was just CSS and not even any other function of theming that did this, too.

So can you look more at your situation and provide more detail?

As the original poster I'd be marking this closed now. I'm going to take the liberty of dropping it off critical also-- it was bad for us too, but still a display issue.

#6

Status:postponed (maintainer needs more info)» fixed

#7

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

nobody click here