Skip to content

Commit

Permalink
Merge branch 'tobenschmidt-master'
Browse files Browse the repository at this point in the history
  • Loading branch information
christianbltr committed Sep 8, 2016
2 parents 3578023 + b1d3d6b commit 54747e2
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Classes/lib/class.tx_kesearch_lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -978,7 +978,8 @@ public function renderPagebrowser() {
}
$linkconf['parameter'] = $GLOBALS['TSFE']->id;
$linkconf['addQueryString'] = 1;
$linkconf['addQueryString.']['exclude'] = 'id';
$linkconf['addQueryString.']['exclude'] = 'id,cHash';
$linkconf['useCacheHash'] = 1;
$linkconf['additionalParams'] = '&tx_kesearch_pi1[page]=' . intval($i);

if (is_array($this->piVars['filter'])) {
Expand Down Expand Up @@ -1008,6 +1009,8 @@ public function renderPagebrowser() {
unset($linkconf);
$linkconf['parameter'] = $GLOBALS['TSFE']->id;
$linkconf['addQueryString'] = 1;
$linkconf['addQueryString.']['exclude'] = 'id,cHash';
$linkconf['useCacheHash'] = 1;
$linkconf['additionalParams'] = '&tx_kesearch_pi1[sword]=' . $this->piVars['sword'];
$linkconf['additionalParams'] .= '&tx_kesearch_pi1[page]=' . intval($previousPage);

Expand Down Expand Up @@ -1036,6 +1039,8 @@ public function renderPagebrowser() {
unset($linkconf);
$linkconf['parameter'] = $GLOBALS['TSFE']->id;
$linkconf['addQueryString'] = 1;
$linkconf['addQueryString.']['exclude'] = 'id,cHash';
$linkconf['useCacheHash'] = 1;
$linkconf['additionalParams'] = '&tx_kesearch_pi1[sword]='.$this->piVars['sword'];
$linkconf['additionalParams'] .= '&tx_kesearch_pi1[page]='.intval($nextPage);

Expand Down

0 comments on commit 54747e2

Please sign in to comment.