I have a view in sidebar showing a taxonomy
Category. There is a view on
/search-page that displays search using Search API view and exposed filters. I want the sidebar Categories to link to the search page with filtered category (
What would be a proper way of doing this?
I tried to do rewrite on the
Name field in sidebar view.
- "Rewrite the output of this field"
- rewrite Text to
- checked the "Output this field as a link"
- set Link Path to
- the links in sidebar get double escaped (it's a bug https://www.drupal.org/node/1342124)
In addition to the bug, I don't particularly like this way, because the path is hardcoded.
Is there a way to kind of link to the search view with some params instead so that Drupal handles the URL internally?