Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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;
Comment | File | Size | Author |
---|---|---|---|
#1 | WSF Action Participants.png | 22.6 KB | mlncn |
Comments
Comment #1
mlncn CreditAttribution: mlncn commentedUpdate: 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
Comment #2
merlinofchaos CreditAttribution: merlinofchaos commentedYou 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.
Comment #3
mlncn CreditAttribution: mlncn commentedWe will do some testing and report back.
Comment #4
nishitdas CreditAttribution: nishitdas commentedYes 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
Comment #5
mlncn CreditAttribution: mlncn commentedIn 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.
Comment #6
sunComment #7
Anonymous (not verified) CreditAttribution: Anonymous commentedAutomatically closed -- issue fixed for two weeks with no activity.