You are here

function search_views_tables in Views (for Drupal 7) 5

File

modules/views_search.inc, line 3

Code

function search_views_tables() {
  $tables['temp_search_results'] = array(
    'name' => 'temp_search_results',
    'join' => array(
      'left' => array(
        'table' => 'node',
        'field' => 'nid',
      ),
      'right' => array(
        'field' => 'sid',
      ),
    ),
    'filters' => array(
      'word' => array(
        'name' => t('Search: Index'),
        'operator' => array(
          '=' => t('Contains'),
        ),
        'handler' => 'search_views_handler_search_index',
      ),
    ),
  );
  return $tables;
}