How did you do the original search feature? If you use dataAssist search in a current version for that, and a url parameter for the menu as you describe, it should work as you expect. I see it isn't working, so it has to be an issue with the original search implementation or the trigger in your dataAssist search server behavior.