You are here

public function ApachesolrViewsSolrBaseQuery::getPath in Apache Solr Views 7

Need to set proper base path for facets.

Overrides SolrBaseQuery::getPath

File

./apachesolr_views_solr_base_query.inc, line 48
Contains custom SolrBaseQuery class for Apachesolr Views.

Class

ApachesolrViewsSolrBaseQuery
@file Contains custom SolrBaseQuery class for Apachesolr Views.

Code

public function getPath($new_keywords = NULL) {
  if (isset($new_keywords)) {
    return $this->base_path . '/' . $new_keywords;
  }
  return $this->base_path;
}