Skip to content

Commit

Permalink
Dont drop passed params for reset
Browse files Browse the repository at this point in the history
  • Loading branch information
dereuromark authored Nov 2, 2020
1 parent c55dbcb commit 0394a39
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/View/Helper/SearchHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,11 @@ public function resetUrl(): array
unset($query[$param]);
}

return [
$url = (array)$this->getView()->getRequest()->getParam('pass');
$url += [
'?' => $query,
];

return $url;
}
}

0 comments on commit 0394a39

Please sign in to comment.