This repository has been archived on 2025-06-21. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
suitedesk/modules/views/modules/search.views_convert.inc

23 lines
575 B
PHP

<?php
/**
* @file
* Field conversion for fields handled by this module.
*/
function search_views_convert($display, $type, &$view, $field, $id = NULL) {
switch ($type) {
case 'filter':
switch ($field['tablename']) {
case 'temp_search_results':
switch ($field['field']) {
case 'word':
$view->set_item_option($display, 'filter', $id, 'table', 'search_index');
$view->set_item_option($display, 'filter', $id, 'field', 'keys');
break;
}
break;
}
break;
}
}