Skip to content

Commit

Permalink
Fix page browser issues with realurl
Browse files Browse the repository at this point in the history
  • Loading branch information
tobenschmidt authored Sep 5, 2016
1 parent 30d9907 commit 562978a
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 562978a

Please sign in to comment.