Example #1
0
 /**
  * Initializes the search component.
  *
  *
  */
 public function initializeSearchComponent()
 {
     $allowedSites = Tx_Solr_Util::resolveSiteHashAllowedSites($GLOBALS['TSFE']->id, $this->searchConfiguration['query.']['allowedSites']);
     $this->query->setSiteHashFilter($allowedSites);
     $this->query->setUserAccessGroups(explode(',', $GLOBALS['TSFE']->gr_list));
 }