Skip to content

Commit 392b7df

Browse files
committed
[BUGFIX] ParameterKeepingFormModifier should not keep page number
Fixes: #60648 Change-Id: I52ed2dfd434e7d4082dac8ff85467fa813eb29f9
1 parent 298eb50 commit 392b7df

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

PiResults/ParameterKeepingFormModifier.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,11 @@ public function modifyForm(array $markers, Tx_Solr_Template $template) {
7979

8080
if ($this->parentPlugin instanceof Tx_Solr_PiResults_Results && $this->configuration['search.']['keepExistingParametersForNewSearches']) {
8181
foreach ($this->parentPlugin->piVars as $key => $value) {
82+
if ($key == 'page') {
83+
// must reset page
84+
continue;
85+
}
86+
8287
$name = $this->parentPlugin->prefixId . '[' . $key . ']';
8388

8489
if (is_array($value)) {

0 commit comments

Comments
 (0)