Skip to content

Commit

Permalink
set correct limit for ke_search_premium.
Browse files Browse the repository at this point in the history
  • Loading branch information
christianbltr committed Sep 13, 2016
1 parent 90af485 commit d8b483a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
ChangeLog

current master
[TASK] set correct limit for ke_search_premium.

Version 2.4.0, September 2016
[!!!] This version changes the database structure!
[FEATURE] Enable changing the doktypes which should be indexed in page indexer. Thanks to András Ottó. https://github.com/teaminmedias-pluswerk/ke_search/pull/42
Expand Down
3 changes: 2 additions & 1 deletion Classes/lib/class.tx_kesearch_db.php
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,8 @@ public function getSearchResultBySphinx() {
$this->user_kesearchpremium->setSorting($this->getOrdering());

// set limit
$this->user_kesearchpremium->setLimit(0, intval($this->pObj->extConfPremium['sphinxLimit']), intval($this->pObj->extConfPremium['sphinxLimit']));
$limit = $this->getLimit();
$this->user_kesearchpremium->setLimit($limit[0], $limit[1], intval($this->pObj->extConfPremium['sphinxLimit']));

// generate query
$queryForSphinx = '';
Expand Down

0 comments on commit d8b483a

Please sign in to comment.