I’m currently running into an issue in D8 with facets. I have a facet with a SOLR search view block as its facet source. When the facet and the SOLR view block are on the same page, the facets work as expected. The issue is that I have this same facet on a page without the facet source. On this page, I need it to behave so that when a user clicks on the facet, they get sent to the page with the facet source with the facet applied so that when the user goes to that page, it already knows what facet the user selected.
For example, if the page without the facet source has the URL www.test.com/no-facet and the page with the facet source has the URL www.test.com/has-facet, I need it so that when a user clicks on a facet in /no-facet it will go to the page /has-facet with a URL like www.test.com/has-facet?f[0]=ss_custom_glossary%3AM.
Is there a way to do this with minimal code? I know if the SOLR view is a page then this works (the facet on the non-facet source will redirect to the view page containing the facet filter). However, I need to make this work with a view BLOCK.