When using the "back to filter selection" link in the case where history.back is not used (e.g. a shared search result) we populate the filter page URL with all of the current params. Most of these params are invalid for that URL, so we should likely just trim this to contain only the relevant params.
This is only a small cosmetic cleanup, so probably not a super high priority, but should be an easy fix.
Discussed in https://github.com/lemeryfertitta/Climbdex/pull/65#discussion_r1591566011
When using the "back to filter selection" link in the case where
history.back
is not used (e.g. a shared search result) we populate the filter page URL with all of the current params. Most of these params are invalid for that URL, so we should likely just trim this to contain only the relevant params.This is only a small cosmetic cleanup, so probably not a super high priority, but should be an easy fix.