/**
  * @return string querystring
  */
 protected function getQueryString()
 {
     $queryArray = array();
     if (isset($this->query)) {
         $bq = $this->query;
         $queryArray[] = $bq;
     }
     foreach (array_keys($this->_attributeQueryTerms) as $name) {
         foreach ($this->_attributeQueryTerms[$name] as $attr) {
             $op = ':';
             if (isset($attr['op'])) {
                 $op = $attr['op'];
             }
             $value = $attr['value'];
             $queryArray[] = "[{$name} {$op} {$value}]";
         }
     }
     $this->query = implode(' ', $queryArray);
     $queryString = parent::getQueryString();
     if (isset($bq)) {
         $this->query = $bq;
     }
     return $queryString;
 }