Skip to content

Commit

Permalink
Merge pull request #1188 from rubenvanerk/preserve-path-on-filter
Browse files Browse the repository at this point in the history
  • Loading branch information
tobias-kuendig authored Nov 4, 2024
2 parents 9b71ac9 + 1c9c4d6 commit 9d35219
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/productsfilter/scripts.htm
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
var data = response.hasOwnProperty('responseJSON') ? response.reponseJSON : response

if (data.hasOwnProperty('queryString')) {
history.replaceState(null, '', '?' + data.queryString)
history.replaceState(null, '', window.location.pathname + '?' + data.queryString);
}

$('[data-filter]').hide()
Expand Down

0 comments on commit 9d35219

Please sign in to comment.