The reason it works is because the custom search page reuses solr search macros which automatically create a form that adds hidden inputs by taking the query string parameters starting with "f_".
This message was sent by Atlassian Jira (v9.3.0#930000-sha1:287aeb6)
If image attachments aren't displayed, see this article.