Example #1
0
 /**
  * Sets the configuration for performing an author search
  *
  * @return mixed
  */
 public function searchAction()
 {
     $this->searchClassId = 'SolrAuthorFacets';
     $this->saveToHistory = false;
     $this->rememberSearch = false;
     return parent::resultsAction();
 }
 /**
  * {$@inheritdoc}
  */
 protected function getQuerySQL()
 {
     $sql = parent::getQuerySQL();
     $startFrom = ($this->getPageNo() - 1) * $this->getTotalResultsPerPage();
     $sql["limit"] = "limit " . $startFrom . ", " . $this->getTotalResultsPerPage();
     return $sql;
 }
Example #3
0
 /**
  * Constructor
  */
 public function __construct()
 {
     $this->searchClassId = 'Combined';
     parent::__construct();
 }
 /**
  * Constructor
  */
 public function __construct()
 {
     $this->searchClassId = 'WorldCat';
     parent::__construct();
 }
 /**
  * @param AbstractSearch $search
  * @param int|null $limit
  */
 protected function applyLimit(AbstractSearch $search, $limit)
 {
     if ($limit > 0) {
         $search->getQuery()->take($limit);
     }
 }
Example #6
0
 /**
  * Constructor
  */
 public function __construct()
 {
     $this->searchClassId = 'Tags';
     parent::__construct();
 }
 /**
  * Constructor
  */
 public function __construct()
 {
     $this->searchClassId = 'SolrAuth';
     parent::__construct();
 }
Example #8
0
 /**
  * Constructor
  */
 public function __construct()
 {
     $this->accessPermission = 'access.EITModule';
     $this->searchClassId = 'EIT';
     parent::__construct();
 }
 /**
  * Constructor
  */
 public function __construct()
 {
     $this->searchClassId = 'SolrAuth';
     $this->useResultScroller = false;
     parent::__construct();
 }
Example #10
0
 /**
  * Constructor
  */
 public function __construct()
 {
     $this->searchClassId = 'MixedList';
     parent::__construct();
 }