community-platform icon indicating copy to clipboard operation
community-platform copied to clipboard

[bug] howto filtering by tags persists after going back in history browser

Open jparadasb opened this issue 3 years ago • 2 comments

Describe the bug When using the how-to filter by tags after selecting at least two and then going back forward in the browser history, the filters still appear selected although not present in the URL.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'How-to'
  2. Select one or more filters tags
  3. Press the history back button on the browser
  4. The content still is filtered and it appears selected in the SelectBox

Expected behavior When the filter by tags is selected if I go one time back in the browser history the last tag selected shouldn't appear and the content shouldn't be filtered by that tag, should have consistency with what the URL is showing.

Screenshots gif

Additional context Add any other context about the problem here.

jparadasb avatar Dec 28 '21 23:12 jparadasb

Thanks for raising this issue @jparadasb as discussed in #1238. Okay if I assign it to you?

thisislawatts avatar Dec 29 '21 07:12 thisislawatts

Yes, please

jparadasb avatar Dec 29 '21 10:12 jparadasb

The tag filter doesn't exist anymore. This behavior happens to category and search filters as well, do I create a new issue or can I take this one?

Ulian avatar Oct 28 '22 15:10 Ulian

well spotted @Ulian, you can take this one and replace tags with categories

davehakkens avatar Oct 29 '22 09:10 davehakkens

:tada: This issue has been resolved in version 1.31.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket:

onearmy-bot avatar Nov 26 '22 23:11 onearmy-bot