Fix: Search query reload #79

Merged
KevinMidboe merged 3 commits from fix/search-query-reload into master 2022-08-27 09:58:30 +00:00
KevinMidboe commented 2022-08-27 09:55:40 +00:00 (Migrated from github.com)

We re-render content when route changes from App.vue, but only on when the path changes. This breaks search page that only changes query parameters for same /search page.

Now have a watcher on searchPage that gets local variables from query parameters every time the route changes.
Also needed to key resultsection with query for force re-render whenever query changes. bcf5b7d

We re-render content when route changes from `App.vue`, but only on when the path changes. This breaks search page that only changes query parameters for same `/search` page. Now have a watcher on searchPage that gets local variables from query parameters every time the route changes. Also needed to key resultsection with query for force re-render whenever query changes. [bcf5b7d](https://github.com/KevinMidboe/seasoned/commit/bcf5b7d890b42de3e41a6ff335c910ab713b3115)
Sign in to join this conversation.
No description provided.