Skip to content

Commit

Permalink
Keep f_sort/l_type during filtering
Browse files Browse the repository at this point in the history
  • Loading branch information
aimeos committed Feb 4, 2022
1 parent 0ffff97 commit 76314e5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions client/html/templates/catalog/filter/body-standard.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,11 @@

<nav>
<h1><?= $enc->html( $this->translate( 'client', 'Filter' ), $enc::TRUST ) ?></h1>

<?php foreach( map( $this->param() )->only( ['f_sort', 'l_type'] ) as $name => $value ) : ?>
<input type="hidden" name="<?= $enc->attr( $this->formparam( $name ) ) ?>" value="<?= $enc->attr( $value ) ?>" />
<?php endforeach ?>

<form method="GET" action="<?= $enc->attr( $url ) ?>">
<?= $this->block()->get( 'catalog/filter/tree' ) ?>
<?= $this->block()->get( 'catalog/filter/search' ) ?>
Expand Down

0 comments on commit 76314e5

Please sign in to comment.