I'm looking for a way to modify views' resulting query string (URL) after applying a filter, but have been unsuccessful so far.
I have a view with exposed filters, taxonomy lists to be specific. Hitting apply generates something like: www.mysite.com/myview?foo=123
My goal is to have it instead generate: www.mysite.com/myview?foo=bar
I know views' exposed filters depends on tid for the filter to work when visiting a page (e.g. pasting a link and visiting the page), and I have some
hook_views_pre_buildcode to handle that. My issue is going the other direction. What hook, function, or other approach can I use to modify that?
For reference I've tried replacing view object contents in
hook_views_query_alter, but nothing seems to have the desired effect. I do not want contextual filters due to the need for order independence.