1 views_handler_filter_search.inc | views_handler_filter_search::query_parse_search_expression($input) |
Make sure that parseSearchExpression is run and everything is set up for it.
Parameters
$input: The search phrase which was input by the user.
File
- core/
modules/ search/ views/ views_handler_filter_search.inc, line 105 - Contains a search filter handler.
Class
- views_handler_filter_search
- Field handler to provide simple renderer that allows linking to a node.
Code
function query_parse_search_expression($input) {
if (!isset($this->search_query)) {
$this->parsed = TRUE;
$this->search_query = db_select('search_index', 'i', array('target' => 'replica'))->extend('viewsSearchQuery');
$this->search_query->searchExpression($input, $this->view->base_table);
$this->search_query->publicParseSearchExpression();
}
}