Redirect /#search/ requests to login screen if unauthenticated

Hi,

I am trying to create hyperlinks to common advanced search queries. These require me to send a GET request to the /#search/ endpoint. This works great when the user is already logged into Zammad. However, if the user is not already logged in, the user is not redirected to the login screen. Instead the page turns white.

Example URL: https://zammad.example.com/#search/priority.name%3A"3%20High"

Direct links to overviews seem to work correctly and they might be a good work around for now, but it’s not ideal as I would like to generate these search queries dynamically. I don’t want to have 100 overviews to allow for every combination of search parameters.

Thanks