function views_json_query_handler_filter_query_string::query in Views JSON Query 7
Add this filter to the query.
Due to the nature of FAPI, the value and the operator have an unintended level of indirection. You will find them in $this->operator and $this->value respectively.
Overrides views_handler_filter_string::query
File
- handlers/
views_json_query_handler_filter_query_string.inc, line 120 - Base filter handler for views_json_query.
Class
- views_json_query_handler_filter_query_string
- @file Base filter handler for views_json_query.
Code
function query() {
$this->query->query_string[$this->options['name']] = $this->value;
}