Download & Extend

This module does not pick up search queries run via views fast search module

Project:Top Searches
Version:5.x-1.1
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

Views 5.x-1.6
Views FastSearch 5.x-2.0
Top Searches 5.x-1.1

Views Fast Search view code

  $view = new stdClass();
  $view->name = 'entertainment_search';
  $view->description = 'entertainment search';
  $view->access = array (
);
  $view->view_args_php = '$view->gridcount = 5;';
  $view->page = TRUE;
  $view->page_title = 'Entertainment Quick Search';
  $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 = 'teaser';
  $view->url = 'directory/entertainment/search';
  $view->use_pager = TRUE;
  $view->nodes_per_page = '25';
  $view->menu = TRUE;
  $view->menu_title = 'Search';
  $view->menu_tab = TRUE;
  $view->menu_tab_weight = '6';
  $view->menu_tab_default = FALSE;
  $view->menu_tab_default_parent = NULL;
  $view->menu_tab_default_parent_type = 'tab';
  $view->menu_parent_tab_weight = '6';
  $view->menu_parent_title = '';
  $view->sort = array (
    array (
      'tablename' => 'search_index',
      'field' => 'score',
      'sortorder' => 'DESC',
      'options' => '',
    ),
  );
  $view->argument = array (
  );
  $view->field = array (
    array (
      'tablename' => 'search_index',
      'field' => 'score',
      'label' => '',
    ),
  );
  $view->filter = array (
    array (
      'tablename' => 'node',
      'field' => 'status',
      'operator' => '=',
      'options' => '',
      'value' => '1',
    ),
    array (
      'tablename' => 'node',
      'field' => 'type',
      'operator' => 'OR',
      'options' => '',
      'value' => array (
  0 => 'entertainment',
),
    ),
    array (
      'tablename' => 'search_index',
      'field' => 'word',
      'operator' => '=',
      'options' => '',
      'value' => '',
    ),
  );
  $view->exposed_filter = array (
    array (
      'tablename' => 'search_index',
      'field' => 'word',
      'label' => '',
      'optional' => '0',
      'is_default' => '0',
      'operator' => '1',
      'single' => '0',
    ),
  );
  $view->requires = array(search_index, node);
  $views[$view->name] = $view;

Thank you

Comments

#1

Sorry

just seen that this is in the todo list....

While at it, could you have a tag-cloud view od the block instead of list.

nobody click here