So my Angular app has a search bar, and if you enter something in this search bar, it does its search and comes to a results page. All good there.
Now if your search doesn't return any results, the results page loads and tells you "searchterm" has returned no results. At this point, the URL is localhost:4200/searchResults;query=searchterm
. Again - all is as expected.
Now, if you go to the search bar, and enter a different search term, nothing happens...
Well, that's not correct... the URL now says localhost:4200/searchResults;query=NEWsearchterm
, but because we are on the 'same' app page, ngOnInit doesn't refire (thus actually searching for the term) NOR does ngOnChanges fire (thus actually searching for the term)...
The routing module seem to do what it was supposed to because our URL did change to reference the new search term, but something isn't happening that should, and I don't know what?
Is this something wrong I'm missing in the routing module (although I wouldn't think so, because the URL did change), or something I'm missing in the Component class on the app page???