#153714 by Magnus: Imported translation to localization server and removed CVS file.
[project/views.git] / modules / search.views_convert.inc
1 <?php
2 // $Id$
3
4 /**
5 * @file
6 * Field conversion for fields handled by this module.
7 */
8
9 function search_views_convert($display, $type, &$view, $field, $id = NULL) {
10 switch ($type) {
11 case 'filter':
12 switch ($field['tablename']) {
13 case 'temp_search_results':
14 switch ($field['field']) {
15 case 'word':
16 $view->set_item_option($display, 'filter', $id, 'table', 'search_index');
17 $view->set_item_option($display, 'filter', $id, 'field', 'keys');
18 break;
19 }
20 break;
21 }
22 break;
23 }
24 }