You are here

function apachesolr_views_query::add_url_query_param in Apache Solr Views 6

add a field and value to the query string This is useful for generating links with the facet blocks

Parameters

string $field: the query field

string $value: the value of hte query field

File

./apachesolr_views_query.inc, line 858

Class

apachesolr_views_query
Class for handling a view that gets its data not from the database, but from a Solr server.

Code

function add_url_query_param($field, $value) {
  $this->_extra_query[$field] = $value;
}