search.views_convert.inc

Field conversion for fields handled by this module.

File

modules/search.views_convert.inc
View source
  1. <?php
  2. /**
  3. * @file
  4. * Field conversion for fields handled by this module.
  5. */
  6. function search_views_convert($display, $type, &$view, $field, $id = NULL) {
  7. switch ($type) {
  8. case 'filter':
  9. switch ($field['tablename']) {
  10. case 'temp_search_results':
  11. switch ($field['field']) {
  12. case 'word':
  13. $view->set_item_option($display, 'filter', $id, 'table', 'search_index');
  14. $view->set_item_option($display, 'filter', $id, 'field', 'keys');
  15. break;
  16. }
  17. break;
  18. }
  19. break;
  20. }
  21. }